mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-30 17:25:21 +00:00
llvm-symbolizer: add --obj flag to specify a single object file that should be symbolized.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@197988 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,3 +57,12 @@ RUN: llvm-symbolizer < %t.input3 | FileCheck %s --check-prefix=UNKNOWN-ARCH
|
||||
UNKNOWN-ARCH-NOT: main
|
||||
UNKNOWN-ARCH: ??
|
||||
UNKNOWN-ARCH-NOT: main
|
||||
|
||||
RUN: echo "0x400559" > %t.input4
|
||||
RUN: echo "0x400436" >> %t.input4
|
||||
RUN: llvm-symbolizer --obj %p/Inputs/dwarfdump-test.elf-x86-64 < %t.input4 \
|
||||
RUN: | FileCheck %s --check-prefix=BINARY
|
||||
|
||||
BINARY: main
|
||||
BINARY-NEXT: /tmp/dbginfo{{[/\\]}}dwarfdump-test.cc:16
|
||||
BINARY: _start
|
||||
|
Reference in New Issue
Block a user