Merge remote-tracking branch 'origin/main' into feat/compilation-workers

This commit is contained in:
Partouf
2025-08-16 16:51:20 +02:00
11 changed files with 115 additions and 28 deletions
-16
View File
@@ -144,22 +144,6 @@ export class ClangCompiler extends BaseCompiler {
return super.runExecutable(executable, executeParameters, homeDir);
}
forceDwarf4UnlessOverridden(options: string[]) {
const hasOverride = _.any(options, (option: string) => {
return option.includes('-gdwarf-') || option.includes('-fdebug-default-version=');
});
if (!hasOverride) return ['-gdwarf-4'].concat(options);
return options;
}
override optionsForFilter(filters: ParseFiltersAndOutputOptions, outputFilename: string, userOptions?: string[]) {
const options = super.optionsForFilter(filters, outputFilename);
return this.forceDwarf4UnlessOverridden(options);
}
// Clang cross-compile with -stdlib=libc++ is currently (up to at least 18.1.0) broken:
// https://github.com/llvm/llvm-project/issues/57104
//
+1 -1
View File
@@ -44,7 +44,7 @@ export class BaseDemangler extends AsmRegex {
readonly includeMetadata: boolean;
readonly compiler: BaseCompiler;
readonly jumpDef = /(j\w+|b|bl|blx)\s+([$_a-z][\w$@]*|"[$_a-z][\w$@]*")/i;
readonly jumpDef = /(j\w+|b|bl|blx)\s+([$_a-z][\w$.@]*|"[$_a-z][\w$.@]*")/i;
readonly callDef = /callq?\s+([$._a-z][\w$.@]*|"[$._a-z][\w$.@]*")/i;
readonly callPtrDef1 = /callq?.*ptr\s\[[a-z]*\s\+\s([$._a-z][\w$.@]*|"[$._a-z][\w$.@]*")]/i;
readonly callPtrDef2 = /callq?\s+([$*._a-z][\w$.@]*|"[$*._a-z][\w$.@]*")/i;