[all-commits] [llvm/llvm-project] 4de7d4: [ASan][X86] Mark asan_globals section large (#74514)
Arthur Eubanks via All-commits
all-commits at lists.llvm.org
Thu Dec 7 13:48:47 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4de7d4e8c40aafff5a76df467965f71e057d9b39
https://github.com/llvm/llvm-project/commit/4de7d4e8c40aafff5a76df467965f71e057d9b39
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
A llvm/test/Instrumentation/AddressSanitizer/global_metadata_code_model.ll
M llvm/test/Instrumentation/AddressSanitizer/global_with_comdat.ll
Log Message:
-----------
[ASan][X86] Mark asan_globals section large (#74514)
We'd like to make the asan_globals section large to make it not
contribute to relocation pressure since there are no direct PC32
references to it.
Following #74498, we can do that by marking the code model for the
global explicitly large.
Without this change, asan_globals gets placed between .data and .bss.
With this change, it gets placed after .bss.
More information about the All-commits
mailing list