| ... | @@ -1228,7 +1228,7 @@ pub fn readElfDebugInfo( | ... | @@ -1228,7 +1228,7 @@ pub fn readElfDebugInfo( |
| 1228 | } | 1228 | } |
| 1229 | | 1229 | |
| 1230 | var cwd_buf: [fs.MAX_PATH_BYTES]u8 = undefined; | 1230 | var cwd_buf: [fs.MAX_PATH_BYTES]u8 = undefined; |
| 1231 | const cwd_path = fs.cwd().realpath("", &cwd_buf) catch break :blk; | 1231 | const cwd_path = os.realpath(".", &cwd_buf) catch break :blk; |
| 1232 | | 1232 | |
| 1233 | // <global debug directory>/<absolute folder of current binary>/<gnu_debuglink> | 1233 | // <global debug directory>/<absolute folder of current binary>/<gnu_debuglink> |
| 1234 | for (global_debug_directories) |global_directory| { | 1234 | for (global_debug_directories) |global_directory| { |