update clientstate with filter binaryObject & libraryCode

This commit is contained in:
partouf
2023-11-07 18:19:07 +01:00
parent 40c996a2f7
commit e4f2bf6b42
10 changed files with 23 additions and 0 deletions

View File

@@ -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;

View File

@@ -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;
}

View File

@@ -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
},

View File

@@ -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
}

View File

@@ -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
},

View File

@@ -18,6 +18,7 @@
"execute": true,
"intel": true,
"labels": true,
"libraryCode": true,
"debugCalls": false,
"trim": true
},

View File

@@ -72,6 +72,7 @@
"execute": true,
"intel": true,
"labels": true,
"libraryCode": true,
"debugCalls": false,
"trim": false
},

View File

@@ -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
},

View File

@@ -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
},

View File

@@ -100,6 +100,7 @@
"execute": false,
"intel": true,
"labels": true,
"libraryCode": true,
"debugCalls": false,
"trim": false
},