[llvm] b96e685 - llvm-symbolizer test: Add a bit of extra detail on how to compile/reproduce this
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 11:07:55 PST 2020
Author: David Blaikie
Date: 2020-01-28T11:07:47-08:00
New Revision: b96e6859c993097ccf97ce56db5b509234f932d5
URL: https://github.com/llvm/llvm-project/commit/b96e6859c993097ccf97ce56db5b509234f932d5
DIFF: https://github.com/llvm/llvm-project/commit/b96e6859c993097ccf97ce56db5b509234f932d5.diff
LOG: llvm-symbolizer test: Add a bit of extra detail on how to compile/reproduce this
The details are also in the .test file, but doesn't hurt to make it a
bit clearer.
Added:
Modified:
llvm/test/tools/llvm-symbolizer/Inputs/discrim.c
Removed:
################################################################################
diff --git a/llvm/test/tools/llvm-symbolizer/Inputs/discrim.c b/llvm/test/tools/llvm-symbolizer/Inputs/discrim.c
index e53cbd467139..5500f094e10c 100644
--- a/llvm/test/tools/llvm-symbolizer/Inputs/discrim.c
+++ b/llvm/test/tools/llvm-symbolizer/Inputs/discrim.c
@@ -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;
More information about the llvm-commits
mailing list