[PATCH] D134769: [ASan] Workaround for a performance problem in StackSafetyAnalysis pass.
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 15:35:49 PDT 2022
vitalybuka added inline comments.
================
Comment at: llvm/test/Instrumentation/AddressSanitizer/asan-stack-safety.ll:3
-; RUN: opt < %s -S -asan-instrumentation-with-call-threshold=0 -passes='asan-pipeline' -asan-use-stack-safety=0 -o - | FileCheck %s --implicit-check-not="call {{.*}} @__asan_{{load|store|stack}}" --check-prefixes=CHECK,NOSAFETY
-; RUN: opt < %s -S -asan-instrumentation-with-call-threshold=0 -passes='asan-pipeline' -asan-use-stack-safety=1 -o - | FileCheck %s --implicit-check-not="call {{.*}} @__asan_{{load|store|stack}}"
+; RUN: opt < %s -S -asan-instrumentation-with-call-threshold=0 -passes='asan-pipeline' -asan-use-stack-safety=0 -o - | \
+; RUN: FileCheck %s --implicit-check-not="call {{.*}} @__asan_{{load|store|stack}}" --check-prefixes=CHECK,NOSAFETY
----------------
don't break lines, line len is not enforced in tests
================
Comment at: llvm/test/Instrumentation/AddressSanitizer/asan-stack-safety.ll:7
+; RUN: FileCheck %s --implicit-check-not="call {{.*}} @__asan_{{load|store|stack}}"
+; RUN: opt < %s -S -asan-instrumentation-with-call-threshold=0 -passes='asan-pipeline' -asan-use-stack-safety=1 \
+; RUN: -stack-safety-max-allocas=0 -o - | FileCheck %s --check-prefixes=ALLOCAS
----------------
you are fixing StackSafetyAnalysis.cpp, so the test must be in those tests
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D134769/new/
https://reviews.llvm.org/D134769
More information about the llvm-commits
mailing list