Skip to content

Commit

Permalink
[cocas] Fix wrong file path in object file
Browse files Browse the repository at this point in the history
  • Loading branch information
cjvth committed Feb 13, 2024
1 parent c1c392d commit 9e62226
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cocas/assembler/assembler.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def assemble_files(target: str,

debug_info_path = get_debug_info_path(filepath, debug, relative_path, realpath)
if debug_info_path:
obj.source_file_path = filepath
obj.source_file_path = debug_info_path
fp = filepath.absolute().as_posix()
dip = debug_info_path.as_posix()
for i in chain(obj.asects, obj.rsects):
Expand Down

0 comments on commit 9e62226

Please sign in to comment.