diff options
author | Devang Patel <dpatel@apple.com> | 2010-07-27 18:13:53 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2010-07-27 18:13:53 +0000 |
commit | 8b5749da2a05b5ea30a40ba95a32f8e3fb0535f8 (patch) | |
tree | 716920a87e52ea916e8a82a29de29e2c01e3fb9a /test/FrontendC++ | |
parent | e0efc216eb94f8f92b85cb4f1af2da9ce2a583fc (diff) | |
download | external_llvm-8b5749da2a05b5ea30a40ba95a32f8e3fb0535f8.zip external_llvm-8b5749da2a05b5ea30a40ba95a32f8e3fb0535f8.tar.gz external_llvm-8b5749da2a05b5ea30a40ba95a32f8e3fb0535f8.tar.bz2 |
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
Diffstat (limited to 'test/FrontendC++')
-rw-r--r-- | test/FrontendC++/2009-07-15-LineNumbers.cpp | 2 | ||||
-rw-r--r-- | test/FrontendC++/2010-07-23-DeclLoc.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/FrontendC++/2009-07-15-LineNumbers.cpp b/test/FrontendC++/2009-07-15-LineNumbers.cpp index a8eda77..e1cc81f 100644 --- a/test/FrontendC++/2009-07-15-LineNumbers.cpp +++ b/test/FrontendC++/2009-07-15-LineNumbers.cpp @@ -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> diff --git a/test/FrontendC++/2010-07-23-DeclLoc.cpp b/test/FrontendC++/2010-07-23-DeclLoc.cpp index 84c63b1..c72de3b 100644 --- a/test/FrontendC++/2010-07-23-DeclLoc.cpp +++ b/test/FrontendC++/2010-07-23-DeclLoc.cpp @@ -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) { |