mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2025-12-27 10:33:59 -05:00
update clientstate with filter binaryObject & libraryCode
This commit is contained in:
@@ -38,8 +38,10 @@ export class ClientStateNormalizer {
|
||||
|
||||
setFilterSettingsFromComponent(compiler, component) {
|
||||
compiler.filters.binary = component.componentState.filters.binary;
|
||||
compiler.filters.binaryObject = component.componentState.filters.binaryObject;
|
||||
compiler.filters.execute = component.componentState.filters.execute;
|
||||
compiler.filters.labels = component.componentState.filters.labels;
|
||||
compiler.filters.libraryCode = component.componentState.filters.libraryCode;
|
||||
compiler.filters.directives = component.componentState.filters.directives;
|
||||
compiler.filters.commentOnly = component.componentState.filters.commentOnly;
|
||||
compiler.filters.trim = component.componentState.filters.trim;
|
||||
|
||||
@@ -24,12 +24,14 @@
|
||||
|
||||
export class ClientStateCompilerOptions {
|
||||
binary = false;
|
||||
binaryObject = false;
|
||||
commentOnly = true;
|
||||
demangle = true;
|
||||
directives = true;
|
||||
execute = false;
|
||||
intel = true;
|
||||
labels = true;
|
||||
libraryCode = false;
|
||||
trim = false;
|
||||
debugCalls = false;
|
||||
|
||||
@@ -39,12 +41,14 @@ export class ClientStateCompilerOptions {
|
||||
|
||||
fromJsonData(jsondata) {
|
||||
if (jsondata.binary !== undefined) this.binary = jsondata.binary;
|
||||
if (jsondata.binaryObject !== undefined) this.binaryObject = jsondata.binaryObject;
|
||||
if (jsondata.commentOnly !== undefined) this.commentOnly = jsondata.commentOnly;
|
||||
if (jsondata.demangle !== undefined) this.demangle = jsondata.demangle;
|
||||
if (jsondata.directives !== undefined) this.directives = jsondata.directives;
|
||||
if (jsondata.execute !== undefined) this.execute = jsondata.execute;
|
||||
if (jsondata.intel !== undefined) this.intel = jsondata.intel;
|
||||
if (jsondata.labels !== undefined) this.labels = jsondata.labels;
|
||||
if (jsondata.libraryCode !== undefined) this.libraryCode = jsondata.libraryCode;
|
||||
if (jsondata.trim !== undefined) this.trim = jsondata.trim;
|
||||
if (jsondata.debugCalls !== undefined) this.debugCalls = jsondata.debugCalls;
|
||||
}
|
||||
|
||||
@@ -12,12 +12,14 @@
|
||||
"options": "-O3",
|
||||
"filters": {
|
||||
"binary": false,
|
||||
"binaryObject": false,
|
||||
"commentOnly": true,
|
||||
"demangle": true,
|
||||
"directives": true,
|
||||
"execute": false,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": false,
|
||||
"debugCalls": false,
|
||||
"trim": false
|
||||
},
|
||||
@@ -30,12 +32,14 @@
|
||||
"options": "-O2",
|
||||
"filters": {
|
||||
"binary": false,
|
||||
"binaryObject": false,
|
||||
"commentOnly": true,
|
||||
"demangle": true,
|
||||
"directives": true,
|
||||
"execute": false,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": false,
|
||||
"debugCalls": false,
|
||||
"trim": false
|
||||
},
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"debugCalls": false,
|
||||
"libraryCode": false,
|
||||
"trim": false
|
||||
},
|
||||
"id": "g92",
|
||||
@@ -43,12 +44,14 @@
|
||||
"tools": [],
|
||||
"filters": {
|
||||
"binary": false,
|
||||
"binaryObject": false,
|
||||
"commentOnly": true,
|
||||
"demangle": true,
|
||||
"directives": true,
|
||||
"execute": false,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": false,
|
||||
"debugCalls": false,
|
||||
"trim": false
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"execute": false,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": true,
|
||||
"debugCalls": false,
|
||||
"trim": false
|
||||
},
|
||||
@@ -39,12 +40,14 @@
|
||||
"options": "",
|
||||
"filters": {
|
||||
"binary": false,
|
||||
"binaryObject": false,
|
||||
"commentOnly": true,
|
||||
"demangle": true,
|
||||
"directives": true,
|
||||
"execute": false,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": false,
|
||||
"debugCalls": false,
|
||||
"trim": false
|
||||
},
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
"execute": true,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": true,
|
||||
"debugCalls": false,
|
||||
"trim": true
|
||||
},
|
||||
|
||||
@@ -72,6 +72,7 @@
|
||||
"execute": true,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": true,
|
||||
"debugCalls": false,
|
||||
"trim": false
|
||||
},
|
||||
|
||||
@@ -111,12 +111,14 @@
|
||||
"options": "-g -O3 -flto",
|
||||
"filters": {
|
||||
"binary": false,
|
||||
"binaryObject": false,
|
||||
"commentOnly": true,
|
||||
"demangle": true,
|
||||
"directives": true,
|
||||
"execute": false,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": false,
|
||||
"debugCalls": false,
|
||||
"trim": false
|
||||
},
|
||||
|
||||
@@ -166,12 +166,14 @@
|
||||
"compiler": "g103",
|
||||
"filters": {
|
||||
"binary": true,
|
||||
"binaryObject": false,
|
||||
"commentOnly": true,
|
||||
"demangle": true,
|
||||
"directives": true,
|
||||
"execute": false,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": false,
|
||||
"debugCalls": false,
|
||||
"trim": false
|
||||
},
|
||||
|
||||
@@ -100,6 +100,7 @@
|
||||
"execute": false,
|
||||
"intel": true,
|
||||
"labels": true,
|
||||
"libraryCode": true,
|
||||
"debugCalls": false,
|
||||
"trim": false
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user