forked from OSchip/llvm-project
hwasan: Remove unused field CurModuleUniqueId. NFCI.
llvm-svn: 367717
This commit is contained in:
parent
10430f4174
commit
196931a7dd
|
@ -218,7 +218,6 @@ public:
|
||||||
|
|
||||||
private:
|
private:
|
||||||
LLVMContext *C;
|
LLVMContext *C;
|
||||||
std::string CurModuleUniqueId;
|
|
||||||
Triple TargetTriple;
|
Triple TargetTriple;
|
||||||
FunctionCallee HWAsanMemmove, HWAsanMemcpy, HWAsanMemset;
|
FunctionCallee HWAsanMemmove, HWAsanMemcpy, HWAsanMemset;
|
||||||
FunctionCallee HWAsanHandleVfork;
|
FunctionCallee HWAsanHandleVfork;
|
||||||
|
@ -342,7 +341,6 @@ void HWAddressSanitizer::initializeModule(Module &M) {
|
||||||
Mapping.init(TargetTriple);
|
Mapping.init(TargetTriple);
|
||||||
|
|
||||||
C = &(M.getContext());
|
C = &(M.getContext());
|
||||||
CurModuleUniqueId = getUniqueModuleId(&M);
|
|
||||||
IRBuilder<> IRB(*C);
|
IRBuilder<> IRB(*C);
|
||||||
IntptrTy = IRB.getIntPtrTy(DL);
|
IntptrTy = IRB.getIntPtrTy(DL);
|
||||||
Int8PtrTy = IRB.getInt8PtrTy();
|
Int8PtrTy = IRB.getInt8PtrTy();
|
||||||
|
|
Loading…
Reference in New Issue