summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2017-04-21 23:35:26 +0000
committerDavid Blaikie <dblaikie@gmail.com>2017-04-21 23:35:26 +0000
commit96b1ed50e879751637519b84a215255128b5dedd (patch)
treecec1a2012ed99922091255d7c343bda51dd6a1e6 /clang/lib/Frontend/CompilerInvocation.cpp
parent5b4293c7d968e0ef43503599fa5fdb6c16801e79 (diff)
downloadbcm5719-llvm-96b1ed50e879751637519b84a215255128b5dedd.tar.gz
bcm5719-llvm-96b1ed50e879751637519b84a215255128b5dedd.zip
Move Split DWARF handling to an MC option/command line argument rather than using metadata
Since Split DWARF needs to name the actual .dwo file that is generated, it can't be known at the time the llvm::Module is produced as it may be merged with other Modules before the object is generated and that object may be generated with any name. By passing the Split DWARF file name when LLVM is producing object code the .dwo file name in the object file can match correctly. The support for Split DWARF for implicit modules remains the same - using metadata to store the dwo name and dwo id so that potentially multiple skeleton CUs referring to different dwo files can be generated from one llvm::Module. llvm-svn: 301062
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud