summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2019-08-02 20:14:58 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2019-08-02 20:14:58 +0000
commit196931a7dd0ae09a8cec7261d59dba28b23a4e3c (patch)
tree84ca3c3a1669d35f39a93755f6626eabaa5f8b0f /llvm/lib
parent10430f41743475e38997648b894511800aae146b (diff)
downloadbcm5719-llvm-196931a7dd0ae09a8cec7261d59dba28b23a4e3c.tar.gz
bcm5719-llvm-196931a7dd0ae09a8cec7261d59dba28b23a4e3c.zip
hwasan: Remove unused field CurModuleUniqueId. NFCI.
llvm-svn: 367717
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
index 0b586e34c27..9633f5a5f8d 100644
--- a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp
@@ -218,7 +218,6 @@ public:
private:
LLVMContext *C;
- std::string CurModuleUniqueId;
Triple TargetTriple;
FunctionCallee HWAsanMemmove, HWAsanMemcpy, HWAsanMemset;
FunctionCallee HWAsanHandleVfork;
@@ -342,7 +341,6 @@ void HWAddressSanitizer::initializeModule(Module &M) {
Mapping.init(TargetTriple);
C = &(M.getContext());
- CurModuleUniqueId = getUniqueModuleId(&M);
IRBuilder<> IRB(*C);
IntptrTy = IRB.getIntPtrTy(DL);
Int8PtrTy = IRB.getInt8PtrTy();
OpenPOWER on IntegriCloud