llvm.org GIT mirror llvm / 8b5749d
Update tests to not rely on input file's absolute path. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109521 91177308-0d34-0410-b5e6-96231b3b80d8 Devang Patel 10 years ago
3 changed file(s) with 4 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
0 // This is a regression test on debug info to make sure that we can
11 // print line numbers in asm.
22 // RUN: %llvmgcc -S -O0 -g %s -o - | \
3 // RUN: llc --disable-fp-elim -O0 -relocation-model=pic | grep { 2009-07-15-LineNumbers.cpp:25$}
3 // RUN: llc --disable-fp-elim -O0 -relocation-model=pic | grep {2009-07-15-LineNumbers.cpp:25$}
44
55 #include
66
6262 _TEXT_text_section(0, 0, __null), _dsym_path(__null), _dylib_current_version(0), _dylib_compatibility_version(0) {}
6363 };
6464 template class TExtendedMachOHeader {};
65 # 16 "/decl_should_be_here.hpp"
65 # 16 "decl_should_be_here.hpp"
6666 template void extract_dwarf_data_from_header(TExtendedMachOHeader& header,
6767 TRawSymbolOwnerData& symbol_owner_data,
6868 TAddressRelocator* address_relocator) {}
6969 struct CSCppSymbolOwnerHashFunctor {
7070 size_t operator()(const CSCppSymbolOwner& symbol_owner) const {
71 # 97 "/wrong_place_for_decl.cpp"
71 # 97 "wrong_place_for_decl.cpp"
7272 }
7373 };
7474 template CSCppSymbolOwnerData* create_symbol_owner_data_arch_specific(CSCppSymbolOwner* symbol_owner, const char* dsym_path) {
44 // RUN: %link %t.o -o %t.exe -framework Foundation
55 // RUN: echo {break randomFunc\n} > %t.in
66 // RUN: gdb -q -batch -n -x %t.in %t.exe | tee %t.out | \
7 // RUN: grep {Breakpoint 1 at 0x.*: file 2009-08-17-DebugInfo.m, line 21}
7 // RUN: grep {Breakpoint 1 at 0x.*: file .*2009-08-17-DebugInfo.m, line 21}
88 // XTARGET: darwin
99 @interface MyClass
1010 {