diff options
| author | Sam Kolton <Sam.Kolton@amd.com> | 2016-10-06 13:46:08 +0000 |
|---|---|---|
| committer | Sam Kolton <Sam.Kolton@amd.com> | 2016-10-06 13:46:08 +0000 |
| commit | 3381d7a21624b403b879c1261a82bb344710d7c7 (patch) | |
| tree | 83e63e81c04ce193a8e6c413bbfcc36cffa2332a /llvm/test | |
| parent | 488c05763c41647c4b89d7e6d56d6854d6de463a (diff) | |
| download | bcm5719-llvm-3381d7a21624b403b879c1261a82bb344710d7c7.tar.gz bcm5719-llvm-3381d7a21624b403b879c1261a82bb344710d7c7.zip | |
[AMDGPU] Disassembler: print label names in branch instructions
Summary: Add AMDGPUSymbolizer for finding names for labels from ELF symbol table.
Initialize MCObjectFileInfo with some default values.
Reviewers: vpykhtin, artem.tamazov, tstellarAMD
Subscribers: arsenm, kzhuravl, wdng, nhaehnle, yaxunl, tony-tye
Differential Revision: https://reviews.llvm.org/D24802
llvm-svn: 283450
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/AMDGPU/labels-branch.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/test/MC/AMDGPU/labels-branch.s b/llvm/test/MC/AMDGPU/labels-branch.s index b79335b1089..232fde1b7a4 100644 --- a/llvm/test/MC/AMDGPU/labels-branch.s +++ b/llvm/test/MC/AMDGPU/labels-branch.s @@ -6,19 +6,19 @@ s_branch loop_start // VI: s_branch loop_start ; encoding: [A,A,0x82,0xbf] // VI-NEXT: ; fixup A - offset: 0, value: loop_start, kind: fixup_si_sopp_br // BIN: loop_start: -// BIN-NEXT: BF82FFFF +// BIN-NEXT: s_branch loop_start // 000000000000: BF82FFFF s_branch loop_end // VI: s_branch loop_end ; encoding: [A,A,0x82,0xbf] // VI-NEXT: ; fixup A - offset: 0, value: loop_end, kind: fixup_si_sopp_br -// BIN: BF820000 +// BIN: s_branch loop_end // 000000000004: BF820000 // BIN: loop_end: loop_end: s_branch gds // VI: s_branch gds ; encoding: [A,A,0x82,0xbf] // VI-NEXT: ; fixup A - offset: 0, value: gds, kind: fixup_si_sopp_br -// BIN: BF820000 +// BIN: s_branch gds // 000000000008: BF820000 // BIN: gds: gds: s_nop 0 |

