[all-commits] [llvm/llvm-project] 8db981: Add sanitizer-specific GlobalValue attributes.
Mitch Phillips via All-commits
all-commits at lists.llvm.org
Fri Jun 10 12:45:24 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8db981d463ee266919907f2554194d05f96f7191
https://github.com/llvm/llvm-project/commit/8db981d463ee266919907f2554194d05f96f7191
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2022-06-10 (Fri, 10 Jun 2022)
Changed paths:
M llvm/include/llvm/AsmParser/LLParser.h
M llvm/include/llvm/AsmParser/LLToken.h
M llvm/include/llvm/IR/GlobalValue.h
M llvm/lib/AsmParser/LLLexer.cpp
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
M llvm/lib/IR/AsmWriter.cpp
M llvm/lib/IR/Globals.cpp
M llvm/lib/IR/LLVMContextImpl.h
M llvm/test/Assembler/globalvariable-attributes.ll
M llvm/test/Bitcode/compatibility.ll
Log Message:
-----------
Add sanitizer-specific GlobalValue attributes.
Plan is the migrate the global variable metadata for sanitizers, that's
currently carried around generally in the 'llvm.asan.globals' section,
onto the global variable itself.
This patch adds the attribute and plumbs it through the LLVM IR and
bitcode formats, but is a no-op other than that so far.
Reviewed By: vitalybuka, kstoimenov
Differential Revision: https://reviews.llvm.org/D126100
More information about the All-commits
mailing list