summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2017-01-06 23:37:33 +0000
committerTeresa Johnson <tejohnson@google.com>2017-01-06 23:37:33 +0000
commitcffeb54fc989c348b7d1f74c8808edd366cf02ce (patch)
tree3a6104655771e5ece8abd184b1012c234c1b379b /lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py
parentb0d70f817ef0c52026ecc76988ae9166efd7aeec (diff)
downloadbcm5719-llvm-cffeb54fc989c348b7d1f74c8808edd366cf02ce.tar.gz
bcm5719-llvm-cffeb54fc989c348b7d1f74c8808edd366cf02ce.zip
[ThinLTO] Optionally ignore empty index file
Summary: In order to simplify distributed build system integration, where actions may be scheduled before the Thin Link which determines the list of objects selected by the linker. The gold plugin currently will emit 0-sized index files for objects not selected by the link, to enable checking for expected output files by the build system. If the build system then schedules a backend action for these bitcode files, we want to be able to fall back to normal compilation instead of failing. Fallback is enabled under an option in LLVM (D28410), in which case a nullptr is returned from llvm::getModuleSummaryIndexForFile. Clang can just proceed with non-ThinLTO compilation in that case. I am investigating whether this can be addressed in our build system, but that is a longer term fix and so this enables a workaround in the meantime. Reviewers: mehdi_amini Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D28362 llvm-svn: 291303
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/debugger/TestDebuggerAPI.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud