diff options
| author | Simon Atanasyan <simon@atanasyan.com> | 2016-01-20 19:15:18 +0000 |
|---|---|---|
| committer | Simon Atanasyan <simon@atanasyan.com> | 2016-01-20 19:15:18 +0000 |
| commit | 2d0d8530e38e9865db50525f02108b72ec365589 (patch) | |
| tree | 69045d858fe083f6f27b897ffe91113a00042335 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 2d7fa7065f0d07d4c376d4228f2097e686a9c143 (diff) | |
[llvm-readobj][ELF] Teach llvm-readobj to show arch specific ELF section's flags
Some architecture specific ELF section flags might have the same value
(for example SHF_X86_64_LARGE and SHF_HEX_GPREL) and we have to check
machine architectures to select an appropriate set of possible flags.
The patch selects architecture specific flags into separate arrays
`ElfxxxSectionFlags` and combines `ElfSectionFlags` and `ElfxxxSectionFlags`
before pass to the `StreamWriter::printFlags()` method.
Differential Revision: http://reviews.llvm.org/D16269
llvm-svn: 258334
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
