[llvm] r309518 - llvm-symbolizer/print_context.c test: Make debug info path independent
David Blaikie via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 30 10:26:34 PDT 2017
Author: dblaikie
Date: Sun Jul 30 10:26:34 2017
New Revision: 309518
URL: http://llvm.org/viewvc/llvm-project?rev=309518&view=rev
Log:
llvm-symbolizer/print_context.c test: Make debug info path independent
Modified:
llvm/trunk/test/tools/llvm-symbolizer/Inputs/print_context.o
llvm/trunk/test/tools/llvm-symbolizer/print_context.c
Modified: llvm/trunk/test/tools/llvm-symbolizer/Inputs/print_context.o
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-symbolizer/Inputs/print_context.o?rev=309518&r1=309517&r2=309518&view=diff
==============================================================================
Binary files llvm/trunk/test/tools/llvm-symbolizer/Inputs/print_context.o (original) and llvm/trunk/test/tools/llvm-symbolizer/Inputs/print_context.o Sun Jul 30 10:26:34 2017 differ
Modified: llvm/trunk/test/tools/llvm-symbolizer/print_context.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-symbolizer/print_context.c?rev=309518&r1=309517&r2=309518&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-symbolizer/print_context.c (original)
+++ llvm/trunk/test/tools/llvm-symbolizer/print_context.c Sun Jul 30 10:26:34 2017
@@ -9,9 +9,14 @@ int main() {
return 0;
}
-// RUN: echo "%p/Inputs/print_context.o 0x0" | llvm-symbolizer -print-source-context-lines=5 | FileCheck %s
+// RUN: cp %s %T
+// RUN: cp %p/Inputs/print_context.o %T
+// RUN: cd %T
+// RUN: echo "%T/print_context.o 0x0" | llvm-symbolizer -print-source-context-lines=5 | FileCheck %s
// Inputs/print_context.o built with plain -g -c from this source file
+// Specifying -Xclang -fdebug-compilation-dir -Xclang . to make the debug info
+// location independent.
// CHECK: inc
// CHECK: print_context.c:3
More information about the llvm-commits
mailing list