aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid CARLIER <devnexen@gmail.com>2023-03-04 14:46:38 +0000
committerDavid CARLIER <devnexen@gmail.com>2023-03-04 14:46:38 +0000
commitbc61c90fb6e8d26d864aea7bd31f00485db4e942 (patch)
treed47546925a879832e24c8e7060149c19c4832d39
parent6af195916c07766029f92bd069efedfc67a94ea4 (diff)
downloadAFLplusplus-bc61c90fb6e8d26d864aea7bd31f00485db4e942.tar.gz
llvm instrumentation trying to delete all static data
at module end of pass with llvm_shutdown and is concurrent safe.
-rw-r--r--instrumentation/cmplog-instructions-pass.cc2
-rw-r--r--instrumentation/cmplog-routines-pass.cc2
-rw-r--r--instrumentation/cmplog-switches-pass.cc2
-rw-r--r--instrumentation/split-compares-pass.so.cc2
-rw-r--r--instrumentation/split-switches-pass.so.cc2
5 files changed, 5 insertions, 5 deletions
diff --git a/instrumentation/cmplog-instructions-pass.cc b/instrumentation/cmplog-instructions-pass.cc
index bca1f927..7dcf8bfa 100644
--- a/instrumentation/cmplog-instructions-pass.cc
+++ b/instrumentation/cmplog-instructions-pass.cc
@@ -66,7 +66,7 @@ namespace {
#if LLVM_MAJOR >= 11 /* use new pass manager */
class CmpLogInstructions : public PassInfoMixin<CmpLogInstructions> {
-
+ llvm_shutdown_obj LSO;
public:
CmpLogInstructions() {
diff --git a/instrumentation/cmplog-routines-pass.cc b/instrumentation/cmplog-routines-pass.cc
index 0498156d..c2c52874 100644
--- a/instrumentation/cmplog-routines-pass.cc
+++ b/instrumentation/cmplog-routines-pass.cc
@@ -63,7 +63,7 @@ namespace {
#if LLVM_VERSION_MAJOR >= 11 /* use new pass manager */
class CmpLogRoutines : public PassInfoMixin<CmpLogRoutines> {
-
+ llvm_shutdown_obj LSO;
public:
CmpLogRoutines() {
diff --git a/instrumentation/cmplog-switches-pass.cc b/instrumentation/cmplog-switches-pass.cc
index cd0ae76d..d96c5a4f 100644
--- a/instrumentation/cmplog-switches-pass.cc
+++ b/instrumentation/cmplog-switches-pass.cc
@@ -64,7 +64,7 @@ namespace {
#if LLVM_VERSION_MAJOR >= 11 /* use new pass manager */
class CmplogSwitches : public PassInfoMixin<CmplogSwitches> {
-
+ llvm_shutdown_obj LSO;
public:
CmplogSwitches() {
diff --git a/instrumentation/split-compares-pass.so.cc b/instrumentation/split-compares-pass.so.cc
index 8a07610c..a189c203 100644
--- a/instrumentation/split-compares-pass.so.cc
+++ b/instrumentation/split-compares-pass.so.cc
@@ -66,7 +66,7 @@ namespace {
#if LLVM_MAJOR >= 11
class SplitComparesTransform : public PassInfoMixin<SplitComparesTransform> {
-
+ llvm_shutdown_obj LSO;
public:
// static char ID;
SplitComparesTransform() : enableFPSplit(0) {
diff --git a/instrumentation/split-switches-pass.so.cc b/instrumentation/split-switches-pass.so.cc
index dcd89652..1028c5b0 100644
--- a/instrumentation/split-switches-pass.so.cc
+++ b/instrumentation/split-switches-pass.so.cc
@@ -65,7 +65,7 @@ namespace {
#if LLVM_VERSION_MAJOR >= 11 /* use new pass manager */
class SplitSwitchesTransform : public PassInfoMixin<SplitSwitchesTransform> {
-
+ llvm_shutdown_obj LSO;
public:
SplitSwitchesTransform() {