diff options
author | Martin Storsjo <martin@martin.st> | 2018-10-04 20:43:38 +0000 |
---|---|---|
committer | Martin Storsjo <martin@martin.st> | 2018-10-04 20:43:38 +0000 |
commit | 37b742e20881300acaf8b9fcda18736f8b6c77f1 (patch) | |
tree | b5b6a83bf3be7f5679afc37f756fefd2f97d6c6d /lldb/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py | |
parent | ceddf2385d2705ef4cfd5d609fdff4a9db34002a (diff) | |
download | bcm5719-llvm-37b742e20881300acaf8b9fcda18736f8b6c77f1.tar.gz bcm5719-llvm-37b742e20881300acaf8b9fcda18736f8b6c77f1.zip |
[COFF] [X86] Don't use llvm_unreachable for unsupported relocation types
This can happen if assembling a reference to _GLOBAL_OFFSET_TABLE_.
While it doesn't make sense to try to assemble that for COFF,
the fact that we previously used llvm_unreachable meant that the code
had undefined behaviour if something tried to assemble that.
The configure script of libgmp would try to assemble such a snippet
(which should signal a failure). If llvm is built without assertions,
the undefined behaviour meant a (near) infinite loop.
Differential Revision: https://reviews.llvm.org/D52903
llvm-svn: 343811
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/target_command/TestTargetCommand.py')
0 files changed, 0 insertions, 0 deletions