summaryrefslogtreecommitdiff
path: root/mlir/lib/Bytecode/Reader/BytecodeReader.cpp
diff options
context:
space:
mode:
authorMitch Phillips <31459023+hctim@users.noreply.github.com>2023-03-01 11:00:49 -0800
committerMitch Phillips <31459023+hctim@users.noreply.github.com>2023-03-01 11:14:05 -0800
commitc574e93afd2e5f7986abeece88449c84ebd2e76d (patch)
treefb4d25064af6f08d22b0055a2c2d640a1d24aee0 /mlir/lib/Bytecode/Reader/BytecodeReader.cpp
parent4e7d40e0928cfe448ba947d2a67895fccaa3535f (diff)
[lld] [MTE] Add DT_AARCH64_MEMTAG_* dynamic entries, and small cleanup
Adds the new AArch64-ABI dynamic entry generation to LLD. This will allow Android to move from the Android-specific ELF note onto the dynamic entries. Change the behaviour of an unspecified --android-memtag-mode. Now, when unspecified, this will print a warning that you're doing a no-op, rather than implicitly turning on sync mode. This is important for MTE globals later, where a binary containing static tagged global descriptors shouldn't have MTE turned on without specific intent being passed to the linker. For now, continue to emit the Android ELF note by default. In future, we can probably make it only emit the note when provided a flag. Do a quick NFC-cleanup of the ELF note while we're here. It doesn't change anything about the ELF note itself, but makes it more clear to the reader of the code what alignment requirements are being (previously implicitly) met. Reviewed By: fmayer, MaskRay Differential Revision: https://reviews.llvm.org/D143769
Diffstat (limited to 'mlir/lib/Bytecode/Reader/BytecodeReader.cpp')
0 files changed, 0 insertions, 0 deletions