[PATCH] [msan] -fsanitize-memory-track-origins=[level] flag and docs.

Evgeniy Stepanov eugenis at google.com
Thu Mar 20 02:26:33 PDT 2014



================
Comment at: test/Driver/fsanitize.c:78
@@ -77,3 +77,3 @@
 // RUN: %clang -target x86_64-linux-gnu -fsanitize-memory-track-origins -pie %s -### 2>&1 | FileCheck %s --check-prefix=CHECK-ONLY-TRACK-ORIGINS
-// CHECK-ONLY-TRACK-ORIGINS: warning: argument unused during compilation: '-fsanitize-memory-track-origins'
+// CHECK-ONLY-TRACK-ORIGINS: warning: argument unused during compilation: '-fsanitize-memory-track-origins=1'
 
----------------
Alexey Samsonov wrote:
> This is confusing. We should try to print the flag the user has provided in command line.
That's how this Alias thing works...
We can stop using it, of course, and check all 3 flags manually.


http://llvm-reviews.chandlerc.com/D3118



More information about the cfe-commits mailing list