[all-commits] [llvm/llvm-project] df2213: [EHStreamer] Omit @LPStart when function has no la...
Rahman Lavaee via All-commits
all-commits at lists.llvm.org
Mon Aug 15 17:10:05 PDT 2022
Author: Rahman Lavaee <rahmanl at google.com>
Date: 2022-08-15 (Mon, 15 Aug 2022)
[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
More information about the All-commits