diff options
author | Adrian Prantl <aprantl@apple.com> | 2020-09-24 16:59:36 -0700 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2020-09-25 12:04:46 -0700 |
commit | 137597d4f47854bb1701f6883d5c91e8a14d29a2 (patch) | |
tree | 5a00b2b7990f567fb6392e359b4a9a7ba2443fb9 /lldb/unittests/ScriptInterpreter/Python | |
parent | 6cd4a4cd02dba6aed33c447114587eebf6854c43 (diff) | |
download | llvm-137597d4f47854bb1701f6883d5c91e8a14d29a2.zip llvm-137597d4f47854bb1701f6883d5c91e8a14d29a2.tar.gz llvm-137597d4f47854bb1701f6883d5c91e8a14d29a2.tar.bz2 |
Add a verifier check that rejects non-distinct DISubprogram function
attachments. They would crash the backend, which expects all
DISubprograms that are not part of the type system to have a unit field.
Clang right before https://reviews.llvm.org/D79967 would generate this
kind of broken IR.
rdar://problem/69534688
Thanks to Fangrui for fixing an assembler test I had missed!
https://reviews.llvm.org/D88270
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python')
0 files changed, 0 insertions, 0 deletions