summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorSam Clegg <sbc@chromium.org>2019-07-17 18:43:36 +0000
committerSam Clegg <sbc@chromium.org>2019-07-17 18:43:36 +0000
commitaccad76c1425492e700178f557573e661d0c0afa (patch)
tree5f8fba2688c6938f7ced106ff6ed9955cb4c88d1 /lldb/packages/Python/lldbsuite/test/python_api
parent48f5a43bcc3b128aca54b99b565595a5fa6ad166 (diff)
downloadbcm5719-llvm-accad76c1425492e700178f557573e661d0c0afa.tar.gz
bcm5719-llvm-accad76c1425492e700178f557573e661d0c0afa.zip
[lld][WebAssembly] Fix handling of comdat functions in init array.
When hidden symbols are discarded by comdat rules we still want to create a local defined symbol, otherwise `Symbol::isDiscarded()` relies on begin able to check `getChunk->discarded`. This is a followup on rL362769. The comdat.ll test was previously GC'ing the `__wasm_call_ctors` functions so `do_init` was not actually being included in the link. Once that function was included in triggered the crash bug that this change addresses. Fixes: https://github.com/emscripten-core/emscripten/issues/8981 Differential Revision: https://reviews.llvm.org/D64872 llvm-svn: 366358
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud