mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
For now, this removes all `llvm.dbg.*` calls from LLVM IR. This is useful to keep coloring the line correspondence between source and IR, while not polluting the IR with the debug intrinsics. Admittedly, I don't have much of a clue of what's going on here, so I might be missing obvious adaptions (e.g. can we disable this for all non-LLVM compilers for now somehow?). Also, not really a Node.JS testing wizard either... 🤷🏼 Just wanted this really bad for a workshop that's coming up soon ^^ Only tested with my system's default `clang` for now. Fixes #5044 --------- Co-authored-by: Matt Godbolt <matt@godbolt.org>
382 lines
12 KiB
JSON
382 lines
12 KiB
JSON
{
|
|
"settings": {
|
|
"hasHeaders": true,
|
|
"constrainDragToContainer": false,
|
|
"reorderEnabled": true,
|
|
"selectionEnabled": false,
|
|
"popoutWholeStack": false,
|
|
"blockedPopoutsThrowError": true,
|
|
"closePopoutsOnUnload": true,
|
|
"showPopoutIcon": false,
|
|
"showMaximiseIcon": true,
|
|
"showCloseIcon": true,
|
|
"responsiveMode": "onload",
|
|
"tabOverlapAllowance": 0,
|
|
"reorderOnTabMenuClick": true,
|
|
"tabControlOffset": 10
|
|
},
|
|
"dimensions": {
|
|
"borderWidth": 5,
|
|
"borderGrabWidth": 15,
|
|
"minItemHeight": 10,
|
|
"minItemWidth": 10,
|
|
"headerHeight": 20,
|
|
"dragProxyWidth": 300,
|
|
"dragProxyHeight": 200
|
|
},
|
|
"labels": {
|
|
"close": "close",
|
|
"maximise": "maximise",
|
|
"minimise": "minimise",
|
|
"popout": "open in new window",
|
|
"popin": "pop in",
|
|
"tabDropdown": "additional tabs"
|
|
},
|
|
"content": [
|
|
{
|
|
"type": "row",
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"content": [
|
|
{
|
|
"type": "stack",
|
|
"width": 17.63474620617478,
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "codeEditor",
|
|
"componentState": {
|
|
"id": 1,
|
|
"source": "Editor 1",
|
|
"lang": "c++"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "C++ source #1"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "stack",
|
|
"width": 19.475786588597295,
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "compiler",
|
|
"componentState": {
|
|
"compiler": "clang_trunk",
|
|
"source": 1,
|
|
"options": "",
|
|
"filters": {
|
|
"binary": false,
|
|
"execute": false,
|
|
"labels": true,
|
|
"directives": true,
|
|
"commentOnly": true,
|
|
"trim": false,
|
|
"debugCalls": false,
|
|
"intel": true,
|
|
"demangle": true
|
|
},
|
|
"libs": [],
|
|
"lang": "c++"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "x86-64 clang (trunk) (Editor #1, Compiler #1) C++"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "column",
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"width": 25.440211608144963,
|
|
"content": [
|
|
{
|
|
"type": "row",
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"height": 50,
|
|
"content": [
|
|
{
|
|
"type": "stack",
|
|
"header": {},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"width": 50,
|
|
"height": 50,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "codeEditor",
|
|
"componentState": {
|
|
"id": 2,
|
|
"source": "Editor 2",
|
|
"lang": "c++"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "C++ source #2"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "stack",
|
|
"header": {},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"width": 50,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "codeEditor",
|
|
"componentState": {
|
|
"id": 3,
|
|
"source": "Editor 3",
|
|
"lang": "c++"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "C++ source #3"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "stack",
|
|
"header": {},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"height": 50,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "compiler",
|
|
"componentState": {
|
|
"compiler": "gsnapshot",
|
|
"source": 2,
|
|
"options": "",
|
|
"filters": {
|
|
"binary": false,
|
|
"execute": false,
|
|
"labels": true,
|
|
"directives": true,
|
|
"commentOnly": true,
|
|
"trim": false,
|
|
"debugCalls": false,
|
|
"intel": true,
|
|
"demangle": true
|
|
},
|
|
"libs": [],
|
|
"lang": "c++"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "x86-64 gcc (trunk) (Editor #2, Compiler #2) C++"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "column",
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"width": 37.44925559708297,
|
|
"content": [
|
|
{
|
|
"type": "row",
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"height": 39.385474860335194,
|
|
"content": [
|
|
{
|
|
"type": "stack",
|
|
"header": {},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"height": 25,
|
|
"width": 50,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "compiler",
|
|
"componentState": {
|
|
"compiler": "clang_trunk",
|
|
"source": 2,
|
|
"options": "",
|
|
"filters": {
|
|
"binary": false,
|
|
"execute": false,
|
|
"labels": true,
|
|
"directives": true,
|
|
"commentOnly": true,
|
|
"trim": false,
|
|
"debugCalls": false,
|
|
"intel": true,
|
|
"demangle": true
|
|
},
|
|
"libs": [],
|
|
"lang": "c++"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "x86-64 clang (trunk) (Editor #2, Compiler #3) C++"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "stack",
|
|
"header": {},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"width": 50,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "compiler",
|
|
"componentState": {
|
|
"compiler": "gsnapshot",
|
|
"source": 2,
|
|
"options": "",
|
|
"filters": {
|
|
"binary": false,
|
|
"execute": false,
|
|
"labels": true,
|
|
"directives": true,
|
|
"commentOnly": true,
|
|
"trim": false,
|
|
"debugCalls": false,
|
|
"intel": true,
|
|
"demangle": true
|
|
},
|
|
"libs": [],
|
|
"lang": "c++"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "x86-64 gcc (trunk) (Editor #2, Compiler #4) C++"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "stack",
|
|
"header": {},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"width": 31.44473360261396,
|
|
"height": 10.614525139664805,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "conformance",
|
|
"componentState": {
|
|
"editorid": 3,
|
|
"source": "Editor 3"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "Conformance viewer (Editor #3) "
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "stack",
|
|
"header": {},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"height": 25,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "codeEditor",
|
|
"componentState": {
|
|
"id": 4,
|
|
"source": "Editor 4",
|
|
"lang": "c++"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "C++ source #4"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "stack",
|
|
"header": {},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"activeItemIndex": 0,
|
|
"height": 25,
|
|
"content": [
|
|
{
|
|
"type": "component",
|
|
"componentName": "compiler",
|
|
"componentState": {
|
|
"compiler": "rv32-clang",
|
|
"source": 4,
|
|
"options": "",
|
|
"filters": {
|
|
"binary": false,
|
|
"execute": false,
|
|
"labels": true,
|
|
"directives": true,
|
|
"commentOnly": true,
|
|
"trim": false,
|
|
"debugCalls": false,
|
|
"intel": true,
|
|
"demangle": true
|
|
},
|
|
"libs": [],
|
|
"lang": "c++"
|
|
},
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "riscv32 clang (trunk) (Editor #4, Compiler #5) C++"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"isClosable": true,
|
|
"reorderEnabled": true,
|
|
"title": "",
|
|
"openPopouts": [],
|
|
"maximisedItemId": null
|
|
}
|