[PATCH] D149953: [X86] Generate checks for 2012-01-10-UndefExceptionEdge

Jay Foad via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri May 5 06:14:36 PDT 2023


foad added inline comments.


================
Comment at: llvm/utils/UpdateTestChecks/asm.py:21
     r'(?:\s*\.type\s+\.L(?P=func)\$local, at function\n)?'  # drop .type .L<func>$local
-    r'(?:[ \t]+.cfi_startproc\n|.seh_proc[^\n]+\n)?'  # drop optional cfi
+    r'(?:[ \t]+.cfi_\w[^\n]*\n|.seh_proc[^\n]+\n)*'  # drop optional cfi
     r'(?P<body>^##?[ \t]+[^:]+:.*?)\s*'
----------------
The function I was looking at had all this before the first label:
```
        .cfi_startproc
        .cfi_personality 155, L___gxx_personality_v0$non_lazy_ptr
        .cfi_lsda 16, Lexception0
```


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149953/new/

https://reviews.llvm.org/D149953



More information about the llvm-commits mailing list