diff options
| author | Kostya Serebryany <kcc@google.com> | 2012-08-24 16:44:47 +0000 |
|---|---|---|
| committer | Kostya Serebryany <kcc@google.com> | 2012-08-24 16:44:47 +0000 |
| commit | 4cc511daf0b73474ffba7a18f3d6d2fdf78f629c (patch) | |
| tree | c896171805d59118255ea82a1e3929eb5bc931d0 /llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp | |
| parent | 36dfc5ceabceb0b823105895f447a8be7512acfa (diff) | |
| download | bcm5719-llvm-4cc511daf0b73474ffba7a18f3d6d2fdf78f629c.tar.gz bcm5719-llvm-4cc511daf0b73474ffba7a18f3d6d2fdf78f629c.zip | |
[asan/tsan] rename FunctionBlackList* to BlackList* as this class is not limited to functions any more
llvm-svn: 162566
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp')
| -rw-r--r-- | llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp index dc0fa7175d9..796813f200a 100644 --- a/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp +++ b/llvm/lib/Transforms/Instrumentation/ThreadSanitizer.cpp @@ -21,7 +21,7 @@ #define DEBUG_TYPE "tsan" -#include "FunctionBlackList.h" +#include "BlackList.h" #include "llvm/Function.h" #include "llvm/IRBuilder.h" #include "llvm/Intrinsics.h" @@ -77,7 +77,7 @@ struct ThreadSanitizer : public FunctionPass { int getMemoryAccessFuncIndex(Value *Addr); TargetData *TD; - OwningPtr<FunctionBlackList> BL; + OwningPtr<BlackList> BL; IntegerType *OrdTy; // Callbacks to run-time library are computed in doInitialization. Function *TsanFuncEntry; @@ -121,7 +121,7 @@ bool ThreadSanitizer::doInitialization(Module &M) { TD = getAnalysisIfAvailable<TargetData>(); if (!TD) return false; - BL.reset(new FunctionBlackList(ClBlackListFile)); + BL.reset(new BlackList(ClBlackListFile)); // Always insert a call to __tsan_init into the module's CTORs. IRBuilder<> IRB(M.getContext()); |

