Fix preprocessor line directive for macos
commitd0efbc5d3a5356685b894f64d3b285a7fb27fbae
authorherman ten brugge <hermantenbrugge@home.nl>
Mon, 16 Jan 2023 19:26:44 +0000 (16 20:26 +0100)
committerherman ten brugge <hermantenbrugge@home.nl>
Mon, 16 Jan 2023 19:26:44 +0000 (16 20:26 +0100)
tree63da4838dece95f17b1c85968644374b5e99155c
parentee3fef2ce2a8c46452ff44b59d5175dc90bf4f4c
Fix preprocessor line directive for macos

Macos has an offset of 1 for DW_LNS_set_file.

Also rewrite dwarf_file to not scan list twice and
move check for <command line> to this function.
tccdbg.c
tccrun.c