2016-11-15 22:07:03 +01:00
|
|
|
set(LLVM_LINK_COMPONENTS
|
2019-03-21 11:21:55 +01:00
|
|
|
BinaryFormat
|
2016-11-15 22:07:03 +01:00
|
|
|
Object
|
2020-10-13 15:17:04 +02:00
|
|
|
ObjectYAML
|
2016-11-15 22:07:03 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
add_llvm_unittest(ObjectTests
|
2020-03-06 15:25:32 +01:00
|
|
|
ArchiveTest.cpp
|
2020-05-28 10:07:21 +02:00
|
|
|
ELFObjectFileTest.cpp
|
2020-06-16 12:00:46 +02:00
|
|
|
ELFTypesTest.cpp
|
2020-05-28 10:07:21 +02:00
|
|
|
ELFTest.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
|
|
|
MinidumpTest.cpp
|
2019-11-19 09:54:24 +01:00
|
|
|
ObjectFileTest.cpp
|
2016-11-15 22:07:03 +01:00
|
|
|
SymbolSizeTest.cpp
|
2017-02-15 13:58:41 +01:00
|
|
|
SymbolicFileTest.cpp
|
2020-08-17 22:23:47 +02:00
|
|
|
XCOFFObjectFileTest.cpp
|
2016-11-15 22:07:03 +01:00
|
|
|
)
|
|
|
|
|
[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
|
|
|
target_link_libraries(ObjectTests PRIVATE LLVMTestingSupport)
|