diff options
author | Vy Nguyen <vyng@google.com> | 2023-07-27 13:56:23 -0400 |
---|---|---|
committer | Vy Nguyen <vyng@google.com> | 2023-08-04 09:25:59 -0400 |
commit | 5ba906327b0178b7635baa89710eb2967db1aa18 (patch) | |
tree | f227fcbf8ebd123363a302c9425bbeeaf024fb94 /clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp | |
parent | 16a0fc2bb81f1d66ff66f08053e45d8857afd66d (diff) | |
download | llvm-5ba906327b0178b7635baa89710eb2967db1aa18.zip llvm-5ba906327b0178b7635baa89710eb2967db1aa18.tar.gz llvm-5ba906327b0178b7635baa89710eb2967db1aa18.tar.bz2 |
[lld-macho] Fixed crashes when linking with incompatible-arch archives/
Two changes:
- Avoid crashing in predicate functions.
Querying the property of the Symbols via these is*() functions shouldn't crash the program - the answer should just be "false".
Currently, having them throw UNREACHABLE already (incorrectly) crash certain code paths involving macho::validateSymbolRelocation() .
- Simply ignore input archives with incompatible arch (changes from PRESIDENT810@)
Differential Revision: https://reviews.llvm.org/D156468
Diffstat (limited to 'clang/lib/ExtractAPI/Serialization/SymbolGraphSerializer.cpp')
0 files changed, 0 insertions, 0 deletions