[PATCH] D131626: [EHStreamer] Omit @LPStart when function has no landing pads
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 11 13:36:22 PDT 2022
MaskRay added inline comments.
================
Comment at: llvm/test/CodeGen/X86/gcc_except_table_bb_sections_nolpads.ll:4
+
+; RUN: llc -basic-block-sections=all -mtriple=x86_64 -code-model=small < %s | FileCheck %s
+
----------------
-code-model=small can be removed.
================
Comment at: llvm/test/CodeGen/X86/gcc_except_table_bb_sections_nolpads.ll:27
+; CHECK: .Lexception2:
+; CHECK-NEXT: .byte 255 # @LPStart Encoding = omit
----------------
Consider checking the full content, i.e. `.uleb128 .Laction_table_base0-.Lcst_begin0` and ` .uleb128 foo.__part.2-foo.__part.2` can be interesting as well.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131626/new/
https://reviews.llvm.org/D131626
More information about the llvm-commits
mailing list