forked from M-Labs/artiq
compiler: allow dumping the object file with ARTIQ_DUMP_OBJ.
This commit is contained in:
parent
dff23293c7
commit
de015b994d
|
@ -156,6 +156,9 @@ class Target:
|
||||||
_dump(os.getenv("ARTIQ_DUMP_ASM"), "Assembly", ".s",
|
_dump(os.getenv("ARTIQ_DUMP_ASM"), "Assembly", ".s",
|
||||||
lambda: llmachine.emit_assembly(llmodule))
|
lambda: llmachine.emit_assembly(llmodule))
|
||||||
|
|
||||||
|
_dump(os.getenv("ARTIQ_DUMP_OBJ"), "Object file", ".o",
|
||||||
|
lambda: llmachine.emit_object(llmodule))
|
||||||
|
|
||||||
return llmachine.emit_object(llmodule)
|
return llmachine.emit_object(llmodule)
|
||||||
|
|
||||||
def link(self, objects):
|
def link(self, objects):
|
||||||
|
|
Loading…
Reference in New Issue