diff options
author | Partouf <partouf@gmail.com> | 2019-01-08 03:20:30 +0100 |
---|---|---|
committer | Partouf <partouf@gmail.com> | 2019-01-08 03:20:30 +0100 |
commit | e892d3506fe977d838ad3a52c2db28c05191950d (patch) | |
tree | ef5408f3e30d67feb3972efe94480d01314f7e59 /lib/compilers/llvm-mca.js | |
parent | 51c36b7b858a7ed7e562cd36f021b098c7b0a962 (diff) | |
download | compiler-explorer-e892d3506fe977d838ad3a52c2db28c05191950d.tar.gz compiler-explorer-e892d3506fe977d838ad3a52c2db28c05191950d.zip |
change argument parser for some compilers
Diffstat (limited to 'lib/compilers/llvm-mca.js')
-rw-r--r-- | lib/compilers/llvm-mca.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/compilers/llvm-mca.js b/lib/compilers/llvm-mca.js index 47e0f91ef..fc8e84b4c 100644 --- a/lib/compilers/llvm-mca.js +++ b/lib/compilers/llvm-mca.js @@ -22,7 +22,8 @@ // ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE // POSSIBILITY OF SUCH DAMAGE. -const AnalysisTool = require('./analysis-tool'); +const AnalysisTool = require('./analysis-tool'), + argumentParsers = require("./argument-parsers"); // Plain compiler, which just runs the tool and returns whatever the output was class LLVMmcaTool extends AnalysisTool { @@ -39,6 +40,10 @@ class LLVMmcaTool extends AnalysisTool { if (filters.intel) options = options.concat(this.compiler.intelAsm.split(' ')); return options; } + + getArgumentParser() { + return argumentParsers.Clang; + } } |