1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 03:02:36 +01:00
llvm-mirror/tools/llvm-dwarfdump/CMakeLists.txt
Djordje Todorovic b4201a6dd9 [llvm-dwarfdump] Add the --show-sections-sizes option
Add an option to llvm-dwarfdump to calculate the bytes within
the debug sections. Dump this numbers when using --statistics
option as well.

This is an initial patch (e.g. we should support other units,
since we only support 'bytes' now).

Differential Revision: https://reviews.llvm.org/D74205
2020-04-02 13:14:30 +02:00

17 lines
223 B
CMake

set(LLVM_LINK_COMPONENTS
DebugInfoDWARF
AllTargetsDescs
AllTargetsInfos
MC
Object
Support
)
add_llvm_tool(llvm-dwarfdump
SectionSizes.cpp
Statistics.cpp
llvm-dwarfdump.cpp
)
add_subdirectory(fuzzer)