aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2021-11-09 22:28:12 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2021-11-09 22:30:29 +0000
commitc17d9b4b125e5561925aa85aaa0b113e383a2ee5 (patch)
tree8b720d0d187e8888dc7429bc616c7855eaee98e3 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp
parent05963a3d66047695aaabd47a161fced7687135db (diff)
downloadllvm-c17d9b4b125e5561925aa85aaa0b113e383a2ee5.zip
llvm-c17d9b4b125e5561925aa85aaa0b113e383a2ee5.tar.gz
llvm-c17d9b4b125e5561925aa85aaa0b113e383a2ee5.tar.bz2
headers: optionalise some generated resource headers
This splits out the generated headers and conditonalises them upon the target being enabled. The motivation here is that the RISCV header alone added 10MB to the resource directory, which was previously at 10MB, increasing the build size and time. This header is contributing ~50% of the size of the resource headers (~10MB). The ARM generated headers are contributing about ~10% or 1MB. This could be extended further adding only the static resource headers for the targets that the LLVM build supports. The changes to the tests for ARM mirror what the RISCV target already did and rnk identified as a possible issue. Testing: cmake -G Ninja -D LLVM_TARGETS_TO_BUILD=X86 -D LLVM_ENABLE_PROJECTS="clang;lld" ../clang ninja check-clang Differential Revision: https://reviews.llvm.org/D112890 Reviewed By: craig.topper
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions