aboutsummaryrefslogtreecommitdiff
path: root/lib/parsers/llvm-pass-dump-parser.ts
diff options
context:
space:
mode:
authorOfek <ofekshilon@gmail.com>2022-10-07 16:47:07 +0300
committerGitHub <noreply@github.com>2022-10-07 08:47:07 -0500
commit1ac540e4096d9fb97ba858f479fde5461693b439 (patch)
tree83641221c0ac5e23338e6edb9cbe0c4a9ea71007 /lib/parsers/llvm-pass-dump-parser.ts
parent56dad850cfb8e3ed70e37610efc76940e4727e9a (diff)
downloadcompiler-explorer-1ac540e4096d9fb97ba858f479fde5461693b439.tar.gz
compiler-explorer-1ac540e4096d9fb97ba858f479fde5461693b439.zip
Fix #4126 : hiding of llvm debug metadata erroneously hid also important semantic metadata (#4127)gh-4424
Diffstat (limited to 'lib/parsers/llvm-pass-dump-parser.ts')
-rw-r--r--lib/parsers/llvm-pass-dump-parser.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/parsers/llvm-pass-dump-parser.ts b/lib/parsers/llvm-pass-dump-parser.ts
index 736b45090..10f613bb2 100644
--- a/lib/parsers/llvm-pass-dump-parser.ts
+++ b/lib/parsers/llvm-pass-dump-parser.ts
@@ -118,7 +118,7 @@ export class LlvmPassDumpParser {
/^(![.A-Z_a-z-]+) = (?:distinct )?!{.*}/, // meta
];
this.debugInfoLineFilters = [
- /,? ![\dA-Za-z]+((?=( {)?$))/, // debug annotation
+ /, !dbg !\d+/, // debug annotation
];
// Ir dump headers look like "*** IR Dump After XYZ ***"