diff options
author | Marc Poulhiès <marc.poulhies@kalray.eu> | 2017-12-05 13:28:09 +0100 |
---|---|---|
committer | Marc Poulhiès <marc.poulhies@kalray.eu> | 2017-12-08 12:59:00 +0100 |
commit | 76665e4d0b43191fa11cfa5f9ad369436c53a430 (patch) | |
tree | 353d72fd7e4d30186318351926ee76020f6e65cf /lib/compilers/argument-parsers.js | |
parent | d3705afa0a54a2ebc354c8309287bd480a6b192a (diff) | |
download | compiler-explorer-76665e4d0b43191fa11cfa5f9ad369436c53a430.tar.gz compiler-explorer-76665e4d0b43191fa11cfa5f9ad369436c53a430.zip |
gccdump: disable view when invalid compiler selected
Try to disable view's UI when an invalid compiler (ie. non-GCC) is
selected after the view is opened.
Also changed the hover tip for gccdump to be more homogeneous with
other buttons.
Simplifies some dom filtering statements.
Remove workaround for module creation order that has been fixed by 2eb2b16d2969c73a19bfb250624124aba9b387ec
fix #638
Diffstat (limited to 'lib/compilers/argument-parsers.js')
-rw-r--r-- | lib/compilers/argument-parsers.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compilers/argument-parsers.js b/lib/compilers/argument-parsers.js index 241ba2bb2..500d1e9b2 100644 --- a/lib/compilers/argument-parsers.js +++ b/lib/compilers/argument-parsers.js @@ -48,6 +48,7 @@ const getOptions = function (compiler, helpArg) { const gccparser = function (compiler) { return getOptions(compiler, "--target-help").then(function (compiler) { + compiler.compiler.supportsGccDump = true; if (compiler.compiler.supportedOptions['-masm']) { compiler.compiler.intelAsm = "-masm=intel"; compiler.compiler.supportsIntel = true; |