llvm-project/llvm/lib/Bitcode/Writer
Mitch Phillips 90e5a8ac47 Remove 'no_sanitize_memtag'. Add 'sanitize_memtag'.
For MTE globals, we should have clang emit the attribute for all GV's
that it creates, and then use that in the upcoming AArch64 global
tagging IR pass. We need a positive attribute for this sanitizer (rather
than implicit sanitization of all globals) because it needs to interact
with other parts of LLVM, including:

  1. Suppressing certain global optimisations (like merging),
  2. Emitting extra directives by the ASM writer, and
  3. Putting extra information in the symbol table entries.

While this does technically make the LLVM IR / bitcode format
non-backwards-compatible, nobody should have used this attribute yet,
because it's a no-op.

Reviewed By: eugenis

Differential Revision: https://reviews.llvm.org/D128950
2022-07-13 08:54:41 -07:00
..
BitWriter.cpp
BitcodeWriter.cpp Remove 'no_sanitize_memtag'. Add 'sanitize_memtag'. 2022-07-13 08:54:41 -07:00
BitcodeWriterPass.cpp Cleanup includes: final pass 2022-03-29 09:00:21 +02:00
CMakeLists.txt [LLVM] Resolve layer violation in BitcodeWriter 2022-01-31 19:01:08 -05:00
ValueEnumerator.cpp [Bitcode] Support expanding constant expressions into instructions 2022-06-28 11:09:46 +02:00
ValueEnumerator.h [Bitcode] Ensure DIArgList in bitcode has no null or forward metadata refs 2021-04-22 12:03:33 +01:00