Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
| llvm/include/llvm/Transforms/Instrumentation/AddressSanitizer.h | ||
|---|---|---|
| 151 ↗ | (On Diff #367500) | Could please please replace Module with targetTriple and pointerSizeInBits. |
| llvm/include/llvm/Transforms/Instrumentation/AddressSanitizerCommon.h | ||
| 90 ↗ | (On Diff #367500) | I don't see implementation of this one. And I expected getAddressSanitizerParams here, not in AddressSanitizer.h. Is there a reson to declare it there? |
| llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
| 566 | It would be nice to introduce this function as a separate NFC patch. | |
| llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp | ||
|---|---|---|
| 571 | Unfortunately we need Kernel as argument, similar to RecoverShift in HWAsan. I propose to have own set of intrinsics for kernel/non-kernel to avoid fancy bit packing or unreadable 1/0 arguments. | |
| clang/test/CodeGen/asan-use-callbacks.cpp | ||
|---|---|---|
| 9 | for -mllvm flag we need test under llvm/test not clang. llvm test needs to be more meaningful, e.g. check precice value passed into intrinsic | |
| clang/test/CodeGen/asan-use-callbacks.cpp | ||
|---|---|---|
| 9 | to clarify I believe we will not add corresponding frontend clang flag for asan-optimize-callbacks. We will make it default ON after some testing and benchmarking. | |
There is also "Add Acction..."-> "Plan changes", which will remove it from reviewers dashboards.
| llvm/test/Instrumentation/AddressSanitizer/asan-optimize-callbacks.ll | ||
|---|---|---|
| 6 ↗ | (On Diff #368959) | Can you please include negative cases as well? ; RUN: opt < %s -asan -enable-new-pm=0 -asan-instrumentation-with-call-threshold=0 -asan-optimize-callbacks=0 -S | FileCheck %s --implicit-check-not llvm.asan.check.memaccess |
for -mllvm flag we need test under llvm/test not clang.
llvm test needs to be more meaningful, e.g. check precice value passed into intrinsic
and have 3 versions:
... -mllvm -asan-optimize-callbacks=0
... -mllvm -asan-optimize-callbacks=1
... default