[all-commits] [llvm/llvm-project] e77669: Add sanitizer metadata attributes to clang IR gen.
Mitch Phillips via All-commits
all-commits at lists.llvm.org
Mon Jun 13 11:19:38 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e7766972a6790e25dbb4ce3481f57e9792b49269
https://github.com/llvm/llvm-project/commit/e7766972a6790e25dbb4ce3481f57e9792b49269
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2022-06-13 (Mon, 13 Jun 2022)
Changed paths:
M clang/lib/CodeGen/CodeGenModule.cpp
M clang/lib/CodeGen/CodeGenModule.h
M clang/lib/CodeGen/SanitizerMetadata.cpp
M clang/lib/CodeGen/SanitizerMetadata.h
A clang/test/CodeGen/Inputs/sanitizer-special-case-list-globals.txt
M clang/test/CodeGen/asan-globals.cpp
M clang/test/CodeGen/sanitize-init-order.cpp
A clang/test/CodeGen/sanitizer-special-case-list-globals.c
Log Message:
-----------
Add sanitizer metadata attributes to clang IR gen.
This patch adds generation of sanitizer metadata attributes (which were
added in D126100) to the clang frontend.
We still currently generate the `llvm.asan.globals` that's consumed by
the IR pass, but the plan is to eventually migrate off of that onto
purely debuginfo and these IR attributes.
Reviewed By: vitalybuka, kstoimenov
Differential Revision: https://reviews.llvm.org/D126929
More information about the All-commits
mailing list