diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-02 14:04:52 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2017-05-02 14:04:52 +0000 |
| commit | 3ba25737448de9f2e22fafd602cee4e0d1fdb44c (patch) | |
| tree | e8b8cfa29ef500d68d5f060fbff66243142b1b26 /llvm/test | |
| parent | 5b359bd0105c4dbd5f301a29b466ccd029901698 (diff) | |
| download | bcm5719-llvm-3ba25737448de9f2e22fafd602cee4e0d1fdb44c.tar.gz bcm5719-llvm-3ba25737448de9f2e22fafd602cee4e0d1fdb44c.zip | |
Add llvm::object::getELFSectionTypeName().
This is motivated by https://reviews.llvm.org/D32488 where I am trying
to add printing of the section type for incompatible sections to LLD
error messages. This patch allows us to use the same code in
llvm-readobj and LLD instead of duplicating the function inside LLD.
Patch by Alexander Richardson!
llvm-svn: 301921
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/MC/ELF/section-numeric-invalid-type.s | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/MC/ELF/section-numeric-invalid-type.s b/llvm/test/MC/ELF/section-numeric-invalid-type.s index 3ae071bc7c1..b8a39600eb1 100644 --- a/llvm/test/MC/ELF/section-numeric-invalid-type.s +++ b/llvm/test/MC/ELF/section-numeric-invalid-type.s @@ -8,7 +8,7 @@ // OBJ: Section { // OBJ: Name: .sec -// OBJ-NEXT: Type: (0x7FFFFFFF) +// OBJ-NEXT: Type: Unknown (0x7FFFFFFF) // OBJ: } // ASM: unsupported type 0x7fffffff for section .sec |

