[llvm] [ASan][X86] Mark asan_globals section large (PR #74514)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 6 18:06:23 PST 2023
================
@@ -2144,6 +2144,11 @@ ModuleAddressSanitizer::CreateMetadataGlobal(Module &M, Constant *Initializer,
M, Initializer->getType(), false, Linkage, Initializer,
Twine("__asan_global_") + GlobalValue::dropLLVMManglingEscape(OriginalName));
Metadata->setSection(getGlobalMetadataSection());
+ // Move metadata section out of the way for x86-64 ELF binaries to mitigate
----------------
MaskRay wrote:
Place metadata in a large section for ... to mitigate ...
https://github.com/llvm/llvm-project/pull/74514
More information about the llvm-commits
mailing list