diff options
author | Rahman Lavaee <rahmanl@google.com> | 2022-08-10 14:43:06 -0700 |
---|---|---|
committer | Rahman Lavaee <rahmanl@google.com> | 2022-08-15 17:09:46 -0700 |
commit | df2213f345475786731a2c3b2a121329f14e8950 (patch) | |
tree | 4da1b336eb8f5f0bfaa136d9c6f41475dad9c482 /clang/unittests/Format/FormatTestJava.cpp | |
parent | 65c022a75fa7ca87dbf8375527c76eaf7d5f16c5 (diff) | |
download | llvm-df2213f345475786731a2c3b2a121329f14e8950.zip llvm-df2213f345475786731a2c3b2a121329f14e8950.tar.gz llvm-df2213f345475786731a2c3b2a121329f14e8950.tar.bz2 |
[EHStreamer] Omit @LPStart when function has no landing pads
When no landing pads exist for a function, `@LPStart` is undefined and must be omitted.
EH table is generally not emitted for functions without landing pads, except when the personality function is uknown (`!isNoOpWithoutInvoke(classifyEHPersonality(Per))`). In that case, we must omit `@LPStart` even when machine function splitting is enabled.
Reviewed By: MaskRay
Differential Revision: https://reviews.llvm.org/D131626
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
0 files changed, 0 insertions, 0 deletions