[PATCH] D108377: [asan] Implemented flag to emit intrinsics to optimize ASan callbacks.
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 19 13:29:26 PDT 2021
vitalybuka added inline comments.
================
Comment at: clang/test/CodeGen/asan-use-callbacks.cpp:9
+// RUN: -fsanitize=address %s -fsanitize-address-outline-instrumentation \
+// RUN: -mllvm -asan-optimize-callbacks \
+// RUN: | FileCheck %s --check-prefixes=CHECK-OPTIMIZED
----------------
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
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108377/new/
https://reviews.llvm.org/D108377
More information about the cfe-commits
mailing list