.gl_keep.template | |
.urls | |
.card | |
.card-body | |
.urls-container | |
.btn-group.btn-group-sm | |
.input-group.input-group-sm | |
.input-group-prepend | |
button.btn.btn-outline-secondary.btn-sm.dropdown-toggle(data-toggle="dropdown" type="button" aria-haspopup="true" aria-expanded="false") | |
span.current Short | |
ul.dropdown-menu.sources | |
button.dropdown-item.btn.btn-light.btn-sm(data-bind="Short") | |
| Short | |
button.dropdown-item.btn.btn-light.btn-sm(data-bind="Full") | |
| Full | |
button.dropdown-item.btn.btn-light.btn-sm(data-bind="Embed") | |
| Embed | |
button.dropdown-item.btn.btn-light.btn-sm(data-bind="Embed (RO)") | |
| Embed (read only) | |
input.form-control.input-sm.permalink(type="text" placeholder="Loading" readonly size="1024" style="font-size: 10px") | |
.input-group-append | |
button.input-group-btn.btn.btn-outline-secondary.btn-sm.clippy(type="button" data-clipboard-target=".popover .permalink" title="Copy to clipboard") | |
span.fa.fa-clipboard | |
if sharingEnabled | |
.card-footer | |
.socialsharing | |
#codeEditor | |
.top-bar.btn-toolbar.bg-light(role="toolbar" aria-label="Editor toolbar") | |
include font-size.pug | |
.btn-group.btn-group-sm(role="group" aria-label="Editor settings") | |
button.btn.btn-light.load-save(title="Load or save text" aria-label="Load or save text") | |
span.fa.fa-save | |
span.hideable Save/Load | |
button.dropdown-toggle.btn.btn-light.add-pane(type="button" title="Add a new pane" aria-label="Add a new pane" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false") | |
span.fa.fa-plus | |
span.hideable Add new... | |
.dropdown-menu | |
button.dropdown-item.btn.btn-sm.btn-light.add-compiler(title="Add a new compiler for this source" aria-label="New compiler") | |
span.fa.fa-cogs | |
| Compiler | |
button.dropdown-item.btn.btn-sm.btn-light.conformance(title="Add a new conformance view" aria-label="New conformance view") | |
span.fa.fa-list | |
| Conformance view | |
button.dropdown-item.btn.btn-sm.btn-light.add-editor(title="Add a new source editor view" aria-label="New source editor") | |
span.fa.fa-code | |
| Source editor | |
.btn-group.btn-group-sm.ml-auto(role="group" aria-label="Editor language") | |
select.change-language(title="Change this editor's (and associated panels) language" disabled=embedded && readOnly) | |
.monaco-placeholder | |
#compiler | |
.top-bar.btn-toolbar.bg-light(role="toolbar") | |
.btn-group.btn-group-sm(role="group" aria-label="Compiler picker") | |
select.compiler-picker(placeholder="Select a compiler...") | |
.input-group.mb-auto | |
.input-group-prepend(title="Show all compilation options") | |
button.input-group-text.prepend-options(data-trigger="click" style="cursor: pointer;" role="button" title="All compilation options") | |
span.btn.btn-light.btn-sm.status-icon | |
input.options.form-control(type="text" placeholder="Compiler options..." size="256" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false") | |
include font-size | |
.btn-group.btn-group-sm.filters(role="group" aria-label="Compiler filters") | |
.button-checkbox | |
button.btn.btn-light.btn-sm(type="button" title="Compile to binary and disassemble the output" data-bind="binary" aria-pressed="false") | |
span 11010 | |
input.d-none(type="checkbox") | |
.button-checkbox | |
button.btn.btn-light.btn-sm(type="button" title="Execute the binary" data-bind="execute" aria-pressed="false") | |
span ./a.out | |
input.d-none(type="checkbox") | |
.button-checkbox | |
button.btn.btn-light.btn-sm.active.nonbinary(type="button" title="Filter unused labels from the output" data-bind="labels" aria-pressed="true") | |
span .LX0: | |
input.d-none(type="checkbox" checked=true) | |
.button-checkbox | |
button.btn.btn-light.btn-sm.active.nonbinary(type="button" title="Filter all assembler directives from the output" data-bind="directives" aria-pressed="true") | |
span .text | |
input.d-none(type="checkbox" checked=true) | |
.button-checkbox | |
button.btn.btn-light.btn-sm.active.nonbinary(type="button" title="Remove all lines which are only comments from the output" data-bind="commentOnly" aria-pressed="true") | |
span // | |
input.d-none(type="checkbox" checked=true) | |
.button-checkbox | |
button.btn.btn-light.btn-sm(type="button" title="Trim intra-line whitespace" data-bind="trim" aria-pressed="false") | |
span \s+ | |
input.d-none(type="checkbox") | |
.button-checkbox | |
button.btn.btn-light.btn-sm.active(type="button" title="Output disassembly in Intel syntax" data-bind="intel" aria-pressed="true") | |
span Intel | |
input.d-none(type="checkbox" checked=true) | |
.button-checkbox | |
button.btn.btn-light.btn-sm.active(type="button" title="Demangle output" data-bind="demangle" aria-pressed="true") | |
span Demangle | |
input.d-none(type="checkbox" checked=true) | |
.btn-group.btn-group-sm(role="group" aria-label="Compiler additions") | |
button.btn.btn-light.btn-sm.show-libs.dropdown-toggle(title="Include libs" aria-label="Toggle libraries dropdown" aria-pressed="false" aria-haspopup="true") | |
span.fas.fa-book | |
span.hideable Libraries | |
.btn-group.btn-group-sm(role="group") | |
button.btn.btn-light.btn-sm.dropdown-toggle.add-pane(type="button" title="Add a new pane" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Add new element for this compiler") | |
span.fas.fa-plus | |
span.hideable Add new... | |
.dropdown-menu.dropdown-menu-right | |
button.dropdown-item.btn.btn-light.btn-sm.add-compiler(title="Clone this compiler window (click or drag)") | |
span.far.fa-clone | |
| Clone compiler | |
button.dropdown-item.btn.btn-light.btn-sm.view-optimization(title="Show optimization output") | |
span.fas.fa-weight | |
| Optimization output | |
button.dropdown-item.btn.btn-light.btn-sm.view-ast(title="Show AST output") | |
span.fas.fa-leaf | |
| AST output | |
button.dropdown-item.btn.btn-light.btn-sm.view-gccdump(title="Show Tree/RTL dump (GCC only)") | |
span.fas.fa-tree | |
| GCC Tree/RTL output | |
button.dropdown-item.btn.btn-light.btn-sm.view-cfg(title="Show Graph Output") | |
span.fas.fa-exchange-alt | |
| Graph output | |
.btn-group.btn-group-sm(role="group") | |
button.btn.btn-light.btn-sm.dropdown-toggle.add-tool(type="button" title="Add tool" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" aria-label="Add tooling to this editor and compiler") | |
span.fas.fa-cogs | |
span.hideable Add tool... | |
.dropdown-menu.dropdown-menu-right | |
button.dropdown-item.btn.btn-light.btn-sm.view-clangtidytool(title="Clang-tidy") | |
span.fas.fa-cog | |
| Clang-tidy | |
button.dropdown-item.btn.btn-light.btn-sm.view-llvmmcatool(title="LLVM MCA") | |
span.fas.fa-cog | |
| LLVM MCA | |
button.dropdown-item.btn.btn-light.btn-sm.view-pahole(title="Pahole") | |
span.fas.fa-cog | |
| Pahole | |
.monaco-placeholder | |
.bottom-bar.bg-light | |
if !embedded | |
.btn-group.btn-group-sm | |
.input-group | |
.input-group-prepend | |
button.btn.btn-light.btn-sm.clear-cache(title="Clear cache & recompile") | |
span.fas.fa-redo | |
button.btn.btn-light.btn-sm.output-btn | |
span.fas.fa-receipt.status-text | |
| Output | |
span.output-count | |
| ( | |
span.text-count | |
| 0 | |
| / | |
span.err-count | |
| 0 | |
| ) | |
span.short-compiler-name | |
button.btn.btn-light.btn-sm.fas.fa-info.full-compiler-name(data-trigger="click" style="cursor: pointer;" role="button" title="Full compiler version") | |
span.compile-time(title="Compilation time (Result size)") | |
#compiler-output | |
.top-bar.btn-toolbar.options-toolbar.bg-light(role="toolbar") | |
include font-size | |
.btn-group.btn-group-sm.options(role="group" aria-label="Output options") | |
.button-checkbox | |
button.btn.btn-light.btn-sm.wrap-lines(type="button" title="Wrap lines" data-bind="wrap" aria-pressed="false" aria-label="Wrap lines") | |
span Wrap lines | |
input.d-none(type="checkbox" checked=false) | |
pre.content | |
#tool-output | |
.top-bar.btn-toolbar.options-toolbar.bg-light(role="toolbar") | |
.btn-group.btn-group-sm.options(role="group" aria-label="Tool options") | |
.input-group.input-group-sm.mb-auto | |
include font-size | |
.button-checkbox | |
button.btn.btn-light.btn-sm.wrap-lines(type="button" title="Wrap lines" data-bind="wrap" aria-pressed="false" aria-label="Wrap lines") | |
span Wrap lines | |
input.d-none(type="checkbox" checked=false) | |
input.options.form-control(type="text" placeholder="Tool options..." size="256" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false") | |
pre.content | |
#diff | |
.top-bar.btn-toolbar.bg-light(role="toolbar") | |
include font-size.pug | |
.btn-group.btn-group-sm | |
.input-group.input-group-sm.mb-auto | |
.input-group-prepend | |
label.input-group-text | |
| Left: | |
select.diff-picker.lhs(placeholder="Select compiler...") | |
.btn-group.btn-group-sm.ml-4 | |
.input-group.input-group-sm.mb-auto | |
.input-group-prepend | |
label.input-group-text | |
| Right: | |
select.diff-picker.rhs(placeholder="Select compiler...") | |
.monaco-placeholder | |
#opt | |
.top-bar.btn-toolbar.bg-light(role="toolbar") | |
include font-size.pug | |
.monaco-placeholder | |
#ast | |
.top-bar.btn-toolbar.bg-light(role="toolbar") | |
include font-size.pug | |
.monaco-placeholder | |
#gccdump | |
.top-bar.btn-toolbar.bg-light(role="toolbar") | |
include font-size | |
.btn-group.btn-group-sm(role="group") | |
select.gccdump-pass-picker(placeholder="Select a pass...") | |
.btn-group.btn-group-sm.dump-filters | |
.button-checkbox | |
button.btn.btn-light.btn-sm.active(type="button" title="Show Tree pass" data-bind="treeDump" aria-pressed="true") | |
span Tree pass | |
input.d-none(type="checkbox" checked=true) | |
.button-checkbox | |
button.btn.btn-light.btn-sm.active(type="button" title="Show RTL pass" data-bind="rtlDump" aria-pressed="true") | |
span RTL pass | |
input.d-none(type="checkbox" checked=true) | |
.monaco-placeholder | |
#cfg | |
.top-bar.btn-toolbar.bg-light.cfg-toolbar(role="toolbar") | |
.btn-group.btn-group-sm(role="group") | |
select.function-picker | |
.btn-group.btn-group-sm.options(role="group") | |
.button-checkbox | |
button.btn.btn-light.btn-sm.toggle-navigation(type="button" title="Toggle navigation buttons" aria-pressed="false" data-bind="navigation") | |
span Nav | |
input.d-none(type="checkbox") | |
.button-checkbox | |
button.btn.btn-light.btn-sm.toggle-physics(type="button" title="Toggle physics to nodes" aria-pressed="false" data-bind="physics") | |
span Physics | |
input.d-none(type="checkbox") | |
.graph-placeholder | |
#conformance | |
.top-bar.btn-toolbar.options-toolbar.bg-light(role="toolbar") | |
.btn-group.btn-group-sm(role="group") | |
button.btn.btn-light.btn-sm.add-compiler(title="Add compiler") | |
span.fas.fa-plus | |
span.hideable Add compiler | |
button.btn.btn-light.btn-sm.show-libs.dropdown-toggle(title="Include libs" aria-label="Toggle libraries dropdown" aria-pressed="false" aria-haspopup="true") | |
span.fas.fa-book | |
span.hideable Libraries | |
.conformance-wrapper | |
table.compiler-list | |
#compiler-selector | |
.form-row | |
.col-auto | |
select.compiler-picker(placeholder="Select a compiler...") | |
.col | |
.input-group.mb-auto | |
.input-group-prepend(title="Show all compilation options") | |
a.input-group-text.prepend-options(tabindex="0" data-trigger="focus" style="cursor: pointer;" role="button" title="All compilation options") | |
span.btn.btn-light.btn-sm.status-icon | |
input.options.form-control(type="text" placeholder="Compiler options..." size="256" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false") | |
.col-1 | |
span.fas.fa-receipt.d-none.compiler-out(style="cursor: help;") | |
button.fas.fa-times.close(aria-label="Close" title="Close") | |
button.fas.fa-share.close.extract-compiler(aria-label="Pop compiler" title="Show compiler") | |
#libs-dropdown | |
.no-libs | |
p No libs configured for this language yet. | |
a(target="_blank" rel="noopener noreferrer" href="https://github.com/mattgodbolt/compiler-explorer/issues/new") | |
| You can suggest us one at any time | |
sup.fas.fa-external-link-alt.opens-new-window(title="Opens in a new window") | |
#libs-entry | |
.input-group.input-group-sm | |
.input-group-prepend | |
label.input-group-text | |
select.custom-select.custom-select-sm | |
#share-item | |
a.share-item(href="javascript:;" rel="noopener noreferrer" target="_blank") | |
span.share-item-text |