mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-24 13:18:17 +00:00
Add the -just-symbol-name (aka -j) flag to llvm-nm to just print the
symbol’s name. On darwin the -j flag is used (often in combinations with other flags) to produce a complete list of symbol names which than can then be reorder and used with ld(1)’s -order_file. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@212294 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -18,6 +18,8 @@ RUN: llvm-nm %p/Inputs/trivial-object-test.macho-x86-64 \
|
||||
RUN: | FileCheck %s -check-prefix macho64
|
||||
RUN: llvm-nm %p/Inputs/macho-text-data-bss.macho-x86_64 \
|
||||
RUN: | FileCheck %s -check-prefix macho-tdb
|
||||
RUN: llvm-nm -j %p/Inputs/macho-text-data-bss.macho-x86_64 \
|
||||
RUN: | FileCheck %s -check-prefix macho-j
|
||||
RUN: llvm-nm -r %p/Inputs/macho-text-data-bss.macho-x86_64 \
|
||||
RUN: | FileCheck %s -check-prefix macho-r
|
||||
RUN: llvm-nm %p/Inputs/common.coff-i386 \
|
||||
@@ -85,6 +87,12 @@ macho-tdb: 000000000000000c D _d
|
||||
macho-tdb: 0000000000000000 T _t
|
||||
macho-tdb: 0000000000000048 S _t.eh
|
||||
|
||||
macho-j: EH_frame0
|
||||
macho-j: _b
|
||||
macho-j: _d
|
||||
macho-j: _t
|
||||
macho-j: _t.eh
|
||||
|
||||
macho-r: 0000000000000048 S _t.eh
|
||||
macho-r-NEXT: 0000000000000000 T _t
|
||||
macho-r-NEXT: 000000000000000c D _d
|
||||
|
||||
Reference in New Issue
Block a user