]> granicus.if.org Git - llvm/commitdiff
hwasan: Remove unused field CurModuleUniqueId. NFCI.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 2 Aug 2019 20:14:58 +0000 (20:14 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 2 Aug 2019 20:14:58 +0000 (20:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367717 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Instrumentation/HWAddressSanitizer.cpp

index 0b586e34c2707e11daa3b7d19692e17a53b51d22..9633f5a5f8dc4ee4a39568ec1b1eba610bcd87ad 100644 (file)
@@ -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();