aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/llvm-mca.js
diff options
context:
space:
mode:
authorPartouf <partouf@gmail.com>2019-01-08 03:20:30 +0100
committerPartouf <partouf@gmail.com>2019-01-08 03:20:30 +0100
commite892d3506fe977d838ad3a52c2db28c05191950d (patch)
treeef5408f3e30d67feb3972efe94480d01314f7e59 /lib/compilers/llvm-mca.js
parent51c36b7b858a7ed7e562cd36f021b098c7b0a962 (diff)
downloadcompiler-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.js7
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;
+ }
}