Test dwarf compile unit with DW_LANG_C89
This commit is contained in:
parent
7c9f73ccc7
commit
8c6384f242
2 changed files with 20 additions and 11 deletions
|
|
@ -71,11 +71,14 @@ class CompileUnitDescriptor(object):
|
|||
md(self.global_vars or []),
|
||||
]
|
||||
|
||||
# for op in operands:
|
||||
# print op
|
||||
|
||||
node = llvm.core.MetaData.get(llvm_module, operands)
|
||||
llvm.core.MetaData.add_named_operand(llvm_module, "dbg", node)
|
||||
|
||||
print "printing metadata compile unit..."
|
||||
print node
|
||||
print "---- done ----"
|
||||
# print "printing metadata compile unit..."
|
||||
# print node
|
||||
# print "---- done ----"
|
||||
|
||||
return node
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue