Add source_path to objdiff.json objects config

This commit is contained in:
1superchip 2024-10-06 16:53:57 -05:00
parent 29511d1328
commit 7085d7ab06

View File

@ -695,6 +695,9 @@ def make_objdiff_json(sources: List[Source]):
{
'path' : src.o_path.removeprefix("$builddir/"),
'name' : src.src_path,
'metadata' : {
'source_path' : src.src_path,
},
}
for src in sources
if src.decompiled