aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/java.ts
diff options
context:
space:
mode:
authorfodinabor <5982050+fodinabor@users.noreply.github.com>2023-05-23 05:35:01 +0200
committerGitHub <noreply@github.com>2023-05-22 22:35:01 -0500
commite28e67d972ac8e914aa74872a518c1caa7126cfb (patch)
tree352d2be7e6fe255326e35f986805937210345f0c /lib/compilers/java.ts
parentc2c5ffd458d32d9adeaf19ff21a5a33c8831d645 (diff)
downloadcompiler-explorer-e28e67d972ac8e914aa74872a518c1caa7126cfb.tar.gz
compiler-explorer-e28e67d972ac8e914aa74872a518c1caa7126cfb.zip
Add new "Debug intrinsics" filter. (#5045)gh-7478
For now, this removes all `llvm.dbg.*` calls from LLVM IR. This is useful to keep coloring the line correspondence between source and IR, while not polluting the IR with the debug intrinsics. Admittedly, I don't have much of a clue of what's going on here, so I might be missing obvious adaptions (e.g. can we disable this for all non-LLVM compilers for now somehow?). Also, not really a Node.JS testing wizard either... 🤷🏼 Just wanted this really bad for a workshop that's coming up soon ^^ Only tested with my system's default `clang` for now. Fixes #5044 --------- Co-authored-by: Matt Godbolt <matt@godbolt.org>
Diffstat (limited to 'lib/compilers/java.ts')
-rw-r--r--lib/compilers/java.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/compilers/java.ts b/lib/compilers/java.ts
index 5b6dac29e..654aab039 100644
--- a/lib/compilers/java.ts
+++ b/lib/compilers/java.ts
@@ -48,7 +48,7 @@ export class JavaCompiler extends BaseCompiler {
super(
{
// Default is to disable all "cosmetic" filters
- disabledFilters: ['labels', 'directives', 'commentOnly', 'trim'],
+ disabledFilters: ['labels', 'directives', 'commentOnly', 'trim', 'debugCalls'],
...compilerInfo,
},
env,