[all-commits] [llvm/llvm-project] 61ed64: [SanitizerBinaryMetadata] Do not add to GPU code
Marco Elver via All-commits
all-commits at lists.llvm.org
Thu Mar 9 01:15:58 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 61ed64954b979df0d5bfdfbe54a7c27e20be9001
https://github.com/llvm/llvm-project/commit/61ed64954b979df0d5bfdfbe54a7c27e20be9001
Author: Marco Elver <elver at google.com>
Date: 2023-03-09 (Thu, 09 Mar 2023)
Changed paths:
M clang/lib/Driver/SanitizerArgs.cpp
M llvm/lib/Transforms/Instrumentation/SanitizerBinaryMetadata.cpp
Log Message:
-----------
[SanitizerBinaryMetadata] Do not add to GPU code
SanitizerBinaryMetadata should only apply to to host code, and not GPU
code. Recently AMD GPU target code has experimental sanitizer support.
If we're compiling a mixed host/device source file, only add sanitizer
metadata to host code.
Differential Revision: https://reviews.llvm.org/D145519
More information about the All-commits
mailing list