forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[llvm-readobj] Decode st_other symbol's flags
The patch supports common STV_xxx visibility flags and MIPS specific STO_MIPS_xxx flags. Differential Revision: http://reviews.llvm.org/D18447 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264300 91177308-0d34-0410-b5e6-96231b3b80d8
- Loading branch information
Showing
12 changed files
with
102 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
RUN: llvm-readobj -symbols %p/Inputs/st-other.obj.elf-mips \ | ||
RUN: | FileCheck -check-prefix=MREG %s | ||
RUN: llvm-readobj -symbols %p/Inputs/st-other.obj.elf-mips16 \ | ||
RUN: | FileCheck -check-prefix=M16 %s | ||
|
||
MREG: Name: foo | ||
MREG-NEXT: Value: 0x0 | ||
MREG-NEXT: Size: 0 | ||
MREG-NEXT: Binding: Global | ||
MREG-NEXT: Type: None | ||
MREG-NEXT: Other [ (0x29) | ||
MREG-NEXT: STO_MIPS_PIC (0x20) | ||
MREG-NEXT: STO_MIPS_PLT (0x8) | ||
MREG-NEXT: STV_INTERNAL (0x1) | ||
MREG-NEXT: ] | ||
|
||
M16: Name: foo | ||
M16-NEXT: Value: 0x0 | ||
M16-NEXT: Size: 0 | ||
M16-NEXT: Binding: Global | ||
M16-NEXT: Type: None | ||
M16-NEXT: Other [ (0xF1) | ||
M16-NEXT: STO_MIPS_MIPS16 (0xF0) | ||
M16-NEXT: STV_INTERNAL (0x1) | ||
M16-NEXT: ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters