2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

compiler: allow dumping the object file with ARTIQ_DUMP_OBJ.

This commit is contained in:
whitequark 2017-02-26 16:46:38 +00:00
parent dff23293c7
commit de015b994d

View File

@ -156,6 +156,9 @@ class Target:
_dump(os.getenv("ARTIQ_DUMP_ASM"), "Assembly", ".s",
lambda: llmachine.emit_assembly(llmodule))
_dump(os.getenv("ARTIQ_DUMP_OBJ"), "Object file", ".o",
lambda: llmachine.emit_object(llmodule))
return llmachine.emit_object(llmodule)
def link(self, objects):