mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-22 10:29:35 +00:00
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
This commit is contained in:
parent
e0efc216eb
commit
8b5749da2a
@ -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>
|
||||
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user