aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2024-01-22 11:55:39 +0100
committerGitHub <noreply@github.com>2024-01-22 11:55:39 +0100
commitc9f5b5c935bd12d76d4bafff61d8116cb3229972 (patch)
treee1475c6c54389030a1286e199e1cc8c10cc2a668 /llvm/lib/ProfileData/Coverage/CoverageMapping.cpp
parentcc38cff05cfafb92bf91aadc39692ec5e12710a0 (diff)
downloadllvm-c9f5b5c935bd12d76d4bafff61d8116cb3229972.zip
llvm-c9f5b5c935bd12d76d4bafff61d8116cb3229972.tar.gz
llvm-c9f5b5c935bd12d76d4bafff61d8116cb3229972.tar.bz2
[MTE] Disable all MTE protection of globals in sections (#78443)
Previous work in this area (#70186) disabled MTE in constructor sections. Looks like I missed one, ".preinit_array". Also, in the meantime, I found an exciting feature in the linker where globals placed into an explicit section, where the section name is a valid C identifer, gets an implicit '__start_<sectionname>' and '__stop_<sectionname>' symbol as well. This is convenient for iterating over some globals, but of course iteration over differently-tagged globals in MTE explodes. Thus, disable MTE globals for anything that has a section.
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMapping.cpp')
0 files changed, 0 insertions, 0 deletions