llvm-symbolizer test: Add a bit of extra detail on how to compile/reproduce this
authorDavid Blaikie <dblaikie@gmail.com>
Tue, 28 Jan 2020 19:02:16 +0000 (11:02 -0800)
committerDavid Blaikie <dblaikie@gmail.com>
Tue, 28 Jan 2020 19:07:47 +0000 (11:07 -0800)
The details are also in the .test file, but doesn't hurt to make it a
bit clearer.

llvm/test/tools/llvm-symbolizer/Inputs/discrim.c

index e53cbd4..5500f09 100644 (file)
@@ -1,3 +1,7 @@
+// Compile with:  clang -gmlt -fdebug-info-for-profiling -O2 discrim.c -o discrim
+// to get an input file with DWARF line table discriminators in it.
+// Tested in test/tools/llvm-symbolizer/sym-verbose.test
+
 static volatile int do_mul;
 static volatile int x, v;