aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/llvm-mos.ts
diff options
context:
space:
mode:
authorMarc Poulhiès <dkm@kataplop.net>2023-01-11 19:39:25 +0100
committerGitHub <noreply@github.com>2023-01-11 19:39:25 +0100
commit69055681d9bb5fa85fc952ec6c198e69abb7195c (patch)
treec2be3f68a0cf8b96b9664b2481b8868937a4b1f7 /lib/compilers/llvm-mos.ts
parente463458a5c30b62d9ae4505bf469cc36643790ee (diff)
downloadcompiler-explorer-69055681d9bb5fa85fc952ec6c198e69abb7195c.tar.gz
compiler-explorer-69055681d9bb5fa85fc952ec6c198e69abb7195c.zip
Support for compiling to binary object (#3232)gh-5742
Diffstat (limited to 'lib/compilers/llvm-mos.ts')
-rw-r--r--lib/compilers/llvm-mos.ts13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/compilers/llvm-mos.ts b/lib/compilers/llvm-mos.ts
index b5eb03686..af18a4dd7 100644
--- a/lib/compilers/llvm-mos.ts
+++ b/lib/compilers/llvm-mos.ts
@@ -62,6 +62,8 @@ export class LLVMMOSCompiler extends ClangCompiler {
maxSize: number,
intelAsm,
demangle,
+ staticReloc,
+ dynamicReloc,
filters: ParseFiltersAndOutputOptions,
) {
if (!outputFilename.endsWith('.elf') && (await utils.fileExists(outputFilename + '.elf'))) {
@@ -69,7 +71,16 @@ export class LLVMMOSCompiler extends ClangCompiler {
}
intelAsm = false;
- const res = await super.objdump(outputFilename, result, maxSize, intelAsm, demangle, filters);
+ const res = await super.objdump(
+ outputFilename,
+ result,
+ maxSize,
+ intelAsm,
+ demangle,
+ staticReloc,
+ dynamicReloc,
+ filters,
+ );
if (this.compiler.exe.includes('nes')) {
let nesFile = outputFilename;