[all-commits] [llvm/llvm-project] a1255d: Use-after-return sanitizer binary metadata
Dmitry Vyukov via All-commits
all-commits at lists.llvm.org
Tue Nov 29 08:37:49 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a1255dc467f7ce57a966efa76bbbb4ee91d9115a
https://github.com/llvm/llvm-project/commit/a1255dc467f7ce57a966efa76bbbb4ee91d9115a
Author: Dmitry Vyukov <dvyukov at google.com>
Date: 2022-11-29 (Tue, 29 Nov 2022)
Changed paths:
M clang/include/clang/Basic/CodeGenOptions.def
M clang/include/clang/Basic/CodeGenOptions.h
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/BackendUtil.cpp
M clang/lib/Driver/SanitizerArgs.cpp
M llvm/include/llvm/CodeGen/CodeGenPassBuilder.h
M llvm/include/llvm/CodeGen/MachinePassRegistry.def
M llvm/include/llvm/CodeGen/Passes.h
M llvm/include/llvm/InitializePasses.h
M llvm/include/llvm/Transforms/Instrumentation.h
M llvm/include/llvm/Transforms/Instrumentation/SanitizerBinaryMetadata.h
M llvm/lib/CodeGen/CMakeLists.txt
M llvm/lib/CodeGen/CodeGen.cpp
A llvm/lib/CodeGen/SanitizerBinaryMetadata.cpp
M llvm/lib/CodeGen/TargetPassConfig.cpp
M llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp
A llvm/test/Instrumentation/SanitizerBinaryMetadata/common.h
A llvm/test/Instrumentation/SanitizerBinaryMetadata/covered.cpp
A llvm/test/Instrumentation/SanitizerBinaryMetadata/lit.local.cfg
A llvm/test/Instrumentation/SanitizerBinaryMetadata/uar.cpp
Log Message:
-----------
Use-after-return sanitizer binary metadata
Currently per-function metadata consists of:
(start-pc, size, features)
This adds a new UAR feature and if it's set an additional element:
(start-pc, size, features, stack-args-size)
Reviewed By: melver
Differential Revision: https://reviews.llvm.org/D136078
More information about the All-commits
mailing list