2017-06-07 05:48:56 +02:00
|
|
|
add_llvm_library(LLVMBinaryFormat
|
2018-12-12 20:39:27 +01:00
|
|
|
AMDGPUMetadataVerifier.cpp
|
2017-06-07 05:48:56 +02:00
|
|
|
Dwarf.cpp
|
|
|
|
Magic.cpp
|
[Object] Add basic minidump support
Summary:
This patch adds basic support for reading minidump files. It contains
the definitions of various important minidump data structures (header,
stream directory), and of one minidump stream (SystemInfo). The ability
to read other streams will be added in follow-up patches. However, all
streams can be read even now as raw data, which means lldb's minidump
support (where this code is taken from) can be immediately rebased on
top of this patch as soon as it lands.
As we don't have any support for generating minidump files (yet), this
tests the code via unit tests with some small handcrafted binaries in
the form of c char arrays.
Reviewers: Bigcheese, jhenderson, zturner
Subscribers: srhines, dschuff, mgorny, fedor.sergeev, lemo, clayborg, JDevlieghere, aprantl, lldb-commits, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D59291
llvm-svn: 356652
2019-03-21 10:18:59 +01:00
|
|
|
Minidump.cpp
|
2019-03-13 19:54:47 +01:00
|
|
|
MsgPackDocument.cpp
|
|
|
|
MsgPackDocumentYAML.cpp
|
2018-08-22 23:42:50 +02:00
|
|
|
MsgPackReader.cpp
|
|
|
|
MsgPackWriter.cpp
|
2018-05-15 00:42:07 +02:00
|
|
|
Wasm.cpp
|
[XCOFF][AIX] Differentiate usage of label symbol and csect symbol
Summary:
We are using symbols to represent label and csect interchangeably before, and that could be a problem.
There are cases we would need to add storage mapping class to the symbol if that symbol is actually the name of a csect, but it's hard for us to figure out whether that symbol is a label or csect.
This patch intend to do the following:
1. Construct a QualName (A name include the storage mapping class)
MCSymbolXCOFF for every MCSectionXCOFF.
2. Keep a pointer to that QualName inside of MCSectionXCOFF.
3. Use that QualName whenever we need a symbol refers to that
MCSectionXCOFF.
4. Adapt the snowball effect from the above changes in
XCOFFObjectWriter.cpp.
Reviewers: xingxue, DiggerLin, sfertile, daltenty, hubert.reinterpretcast
Reviewed By: DiggerLin, daltenty
Subscribers: wuzish, nemanjai, mgorny, hiraditya, kbarton, jsji, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69633
2019-11-08 15:26:28 +01:00
|
|
|
XCOFF.cpp
|
2017-06-07 05:48:56 +02:00
|
|
|
|
|
|
|
ADDITIONAL_HEADER_DIRS
|
|
|
|
${LLVM_MAIN_INCLUDE_DIR}/llvm/BinaryFormat
|
|
|
|
)
|
2018-05-15 00:42:07 +02:00
|
|
|
|