[all-commits] [llvm/llvm-project] 568035: [llvm-readobj] Add --coff-tls-directory flag to pr...
Luqman Aden via All-commits
all-commits at lists.llvm.org
Thu Oct 8 01:57:23 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 568035ac3955790aee2a5dbc2b1f4074c76bb4d7
https://github.com/llvm/llvm-project/commit/568035ac3955790aee2a5dbc2b1f4074c76bb4d7
Author: Luqman Aden <me at luqman.ca>
Date: 2020-10-08 (Thu, 08 Oct 2020)
Changed paths:
M llvm/docs/CommandGuide/llvm-readobj.rst
M llvm/include/llvm/BinaryFormat/COFF.h
M llvm/include/llvm/Object/COFF.h
M llvm/lib/Object/COFFObjectFile.cpp
A llvm/test/tools/llvm-readobj/COFF/tls-directory.test
M llvm/tools/llvm-readobj/COFFDumper.cpp
M llvm/tools/llvm-readobj/ObjDumper.h
M llvm/tools/llvm-readobj/llvm-readobj.cpp
Log Message:
-----------
[llvm-readobj] Add --coff-tls-directory flag to print TLS Directory & test.
Akin to dumpbin's /TLS option, this will print out the TLS directory, if
present, in the image.
Example output:
```
> llvm-readobj --coff-tls-directory test.exe
File: test.exe
Format: COFF-x86-64
Arch: x86_64
AddressSize: 64bit
TLSDirectory {
StartAddressOfRawData: 0x140004000
EndAddressOfRawData: 0x140004040
AddressOfIndex: 0x140002000
AddressOfCallBacks: 0x0
SizeOfZeroFill: 0x0
Characteristics [ (0x0)
]
}
```
Reviewed By: jhenderson, grimar
Differential Revision: https://reviews.llvm.org/D88635
More information about the All-commits
mailing list