llvm.org GIT mirror llvm / db7d4ca
llvm-symbolizer/print_context.c test: Make debug info path independent git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@309518 91177308-0d34-0410-b5e6-96231b3b80d8 David Blaikie 2 years ago
2 changed file(s) with 6 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
88 return 0;
99 }
1010
11 // RUN: echo "%p/Inputs/print_context.o 0x0" | llvm-symbolizer -print-source-context-lines=5 | FileCheck %s
11 // RUN: cp %s %T
12 // RUN: cp %p/Inputs/print_context.o %T
13 // RUN: cd %T
14 // RUN: echo "%T/print_context.o 0x0" | llvm-symbolizer -print-source-context-lines=5 | FileCheck %s
1215
1316 // Inputs/print_context.o built with plain -g -c from this source file
17 // Specifying -Xclang -fdebug-compilation-dir -Xclang . to make the debug info
18 // location independent.
1419
1520 // CHECK: inc
1621 // CHECK: print_context.c:3