diff options
author | zebrapurring <103900164+zebrapurring@users.noreply.github.com> | 2023-04-01 23:49:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-01 23:49:22 +0200 |
commit | 34bbde880c7323e5676ede8cd73e1fd7eec63abc (patch) | |
tree | b01949a42f3b42d47338932c4549b7531f89401a /lib/compilers/java.ts | |
parent | 43aa216cd6e91b1d4d230c611a80dfacfc79994f (diff) | |
download | compiler-explorer-34bbde880c7323e5676ede8cd73e1fd7eec63abc.tar.gz compiler-explorer-34bbde880c7323e5676ede8cd73e1fd7eec63abc.zip |
Support configuring extra arguments for the demangler, objdumper and execution wrapper (#4883)gh-6987
Some toolchains require passing non-standard, mandatory arguments to the
CLI tools in order to execute them (configuring licenses, selecting CPU
targets, etc.). This PR allows configuring extra command-line arguments
for the demangler, object dumper and the execution wrapper. The version
flag argument has been refactored into an array, so that more than one
argument can be passed, if necessary.
The changes are fully backwards compatible.
Co-authored-by: zebrapurring <>
Diffstat (limited to 'lib/compilers/java.ts')
-rw-r--r-- | lib/compilers/java.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compilers/java.ts b/lib/compilers/java.ts index bfcc19e76..5b6dac29e 100644 --- a/lib/compilers/java.ts +++ b/lib/compilers/java.ts @@ -70,6 +70,7 @@ export class JavaCompiler extends BaseCompiler { .filter(f => f.endsWith('.class')) .map(async classFile => { const args = [ + ...this.compiler.objdumperArgs, // Prints out disassembled code, i.e., the instructions that comprise the Java bytecodes, // for each of the methods in the class. '-c', |