Update tests to not rely on input file's absolute path.
authorDevang Patel <dpatel@apple.com>
Tue, 27 Jul 2010 18:13:53 +0000 (18:13 +0000)
committerDevang Patel <dpatel@apple.com>
Tue, 27 Jul 2010 18:13:53 +0000 (18:13 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109521 91177308-0d34-0410-b5e6-96231b3b80d8

test/FrontendC++/2009-07-15-LineNumbers.cpp
test/FrontendC++/2010-07-23-DeclLoc.cpp
test/FrontendObjC/2009-08-17-DebugInfo.m

index a8eda77e4a72d70de4d0a2b70fbf89ea55a7ad4b..e1cc81f40f79d80521e402108c9c09e4f2454487 100644 (file)
@@ -1,7 +1,7 @@
 // This is a regression test on debug info to make sure that we can
 // print line numbers in asm.
 // RUN: %llvmgcc -S -O0 -g %s -o - | \
-// RUN:    llc --disable-fp-elim -O0 -relocation-model=pic | grep { 2009-07-15-LineNumbers.cpp:25$}
+// RUN:    llc --disable-fp-elim -O0 -relocation-model=pic | grep {2009-07-15-LineNumbers.cpp:25$}
 
 #include <stdlib.h>
 
index 84c63b10b93fc0142a744cbf467af31eab845303..c72de3b336239ed40980f5399de21a3aefc75378 100644 (file)
@@ -63,13 +63,13 @@ public:
     _TEXT_text_section(0, 0, __null), _dsym_path(__null), _dylib_current_version(0), _dylib_compatibility_version(0) {}
 };
 template <typename SIZE_AND_ENDIANNESS> class TExtendedMachOHeader {};
-# 16 "/decl_should_be_here.hpp"
+# 16 "decl_should_be_here.hpp"
 template <typename SIZE_AND_ENDIANNESS> void extract_dwarf_data_from_header(TExtendedMachOHeader<SIZE_AND_ENDIANNESS>& header,
                                                                             TRawSymbolOwnerData<typename SIZE_AND_ENDIANNESS::SIZE>& symbol_owner_data,
                                                                             TAddressRelocator<typename SIZE_AND_ENDIANNESS::SIZE>* address_relocator) {}
 struct CSCppSymbolOwnerHashFunctor {
   size_t operator()(const CSCppSymbolOwner& symbol_owner) const {
-# 97 "/wrong_place_for_decl.cpp"
+# 97 "wrong_place_for_decl.cpp"
   }
 };
 template <typename SIZE_AND_ENDIANNESS> CSCppSymbolOwnerData* create_symbol_owner_data_arch_specific(CSCppSymbolOwner* symbol_owner, const char* dsym_path) {
index 2c72e9532ceb8c4989b4d59948c90ec585940e24..8ed7c24dc1348c02014de1b8d53a7614fc0d8a03 100644 (file)
@@ -5,7 +5,7 @@
 // RUN: %link %t.o -o %t.exe -framework Foundation
 // RUN: echo {break randomFunc\n} > %t.in 
 // RUN: gdb -q -batch -n -x %t.in %t.exe | tee %t.out | \
-// RUN:   grep {Breakpoint 1 at 0x.*: file 2009-08-17-DebugInfo.m, line 21}
+// RUN:   grep {Breakpoint 1 at 0x.*: file .*2009-08-17-DebugInfo.m, line 21}
 // XTARGET: darwin
 @interface MyClass
 {