[PATCH] D68287: [ASan] Make GlobalsMD member a const reference
Leonard Chan via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 13:32:07 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rG63663616f5a0: [ASan] Make GlobalsMD member a const reference. (authored by leonardchan).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D68287/new/
https://reviews.llvm.org/D68287
Files:
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
Index: llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
===================================================================
--- llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
+++ llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
@@ -692,7 +692,7 @@
FunctionCallee AsanMemmove, AsanMemcpy, AsanMemset;
InlineAsm *EmptyAsm;
Value *LocalDynamicShadow = nullptr;
- GlobalsMetadata GlobalsMD;
+ const GlobalsMetadata &GlobalsMD;
DenseMap<const AllocaInst *, bool> ProcessedAllocas;
};
@@ -798,7 +798,7 @@
}
int GetAsanVersion(const Module &M) const;
- GlobalsMetadata GlobalsMD;
+ const GlobalsMetadata &GlobalsMD;
bool CompileKernel;
bool Recover;
bool UseGlobalsGC;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D68287.222686.patch
Type: text/x-patch
Size: 724 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191001/ea23bf02/attachment.bin>
More information about the llvm-commits
mailing list