[compiler-rt] r346120 - [hwasan] Fix stack-uar.c after rCRT345110
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 4 23:16:26 PST 2018
Author: maskray
Date: Sun Nov 4 23:16:25 2018
New Revision: 346120
URL: http://llvm.org/viewvc/llvm-project?rev=346120&view=rev
Log:
[hwasan] Fix stack-uar.c after rCRT345110
Set -fno-discard-value-names so that the frame description string contains the variable name.
Modified:
compiler-rt/trunk/test/hwasan/TestCases/stack-uar.c
Modified: compiler-rt/trunk/test/hwasan/TestCases/stack-uar.c
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/hwasan/TestCases/stack-uar.c?rev=346120&r1=346119&r2=346120&view=diff
==============================================================================
--- compiler-rt/trunk/test/hwasan/TestCases/stack-uar.c (original)
+++ compiler-rt/trunk/test/hwasan/TestCases/stack-uar.c Sun Nov 4 23:16:25 2018
@@ -1,5 +1,5 @@
// Tests use-after-return detection and reporting.
-// RUN: %clang_hwasan -O0 %s -o %t && not %run %t 2>&1 | FileCheck %s
+// RUN: %clang_hwasan -O0 -fno-discard-value-names %s -o %t && not %run %t 2>&1 | FileCheck %s
// REQUIRES: stable-runtime
More information about the llvm-commits
mailing list