From 196931a7dd0ae09a8cec7261d59dba28b23a4e3c Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Fri, 2 Aug 2019 20:14:58 +0000 Subject: [PATCH] hwasan: Remove unused field CurModuleUniqueId. NFCI. llvm-svn: 367717 --- llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp b/llvm/lib/Transforms/Instrumentation/HWAddressSanitizer.cpp index 0b586e34c270..9633f5a5f8dc 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();