aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2023-01-11 20:54:57 +0100
committerMarc Poulhiès <dkm@kataplop.net>2023-01-11 20:58:34 +0100
commite10ff463d5848168cade4c3fd49a9c5257ba4b80 (patch)
tree40aeebd3fdb59d8c2bab64b90caedfcdda622835
parent69055681d9bb5fa85fc952ec6c198e69abb7195c (diff)
downloadcompiler-explorer-gh-5744.tar.gz
compiler-explorer-gh-5744.zip
rename: compile to binary -> link to binarygh-5744
With the merge of #3232, we need to distinguish "compile to binary object" (compiler + assembler) and "compile to binary" (compiler + assembler + linker). Renaming "compile to binary" as "link to binary" is a more correct in this context and less confusing. We don't rename the internal field (kept as 'binary') because it's part of the API and we can't break it. Signed-off-by: Marc Poulhiès <dkm@kataplop.net>
-rw-r--r--views/options-output.pug4
1 files changed, 3 insertions, 1 deletions
diff --git a/views/options-output.pug b/views/options-output.pug
index aa6cae04d..dbd620a61 100644
--- a/views/options-output.pug
+++ b/views/options-output.pug
@@ -14,7 +14,9 @@ mixin outputoption(name, longdescription, shortdescription, defaultchecked)
input.d-none(type="checkbox" checked=defaultchecked)
// If you modify this, update types/features/filters.interfaces.ts
+outputoption('binaryObject', 'Compile to binary object and disassemble the output', 'Compile to binary object', false)
-+outputoption('binary', 'Compile to binary and disassemble the output', 'Compile to binary', false)
+// the field needs to keep being "binary" and not "link" or something closer to the description as it is part of
+// our interface and we can't break it.
++outputoption('binary', 'Link to binary and disassemble the output', 'Link to binary', false)
+outputoption('execute', 'Execute code and show its output', 'Execute the code', false)
+outputoption('intel', 'Output disassembly in Intel syntax', 'Intel asm syntax', true)
+outputoption('demangle', 'Demangle output', 'Demangle identifiers', true)