diff options
author | Adrian Prantl <aprantl@apple.com> | 2022-02-25 11:38:16 -0800 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2022-02-25 13:03:59 -0800 |
commit | 2cd9a86da54f8be4eb2aff3e766b125cbdeb023f (patch) | |
tree | 5cc29dba73cb5952514c16f35cbba7ad8985358e /llvm/lib/Object/MachOObjectFile.cpp | |
parent | c05da55bdf54e530a888acf8d2282964e25d2507 (diff) | |
download | llvm-2cd9a86da54f8be4eb2aff3e766b125cbdeb023f.zip llvm-2cd9a86da54f8be4eb2aff3e766b125cbdeb023f.tar.gz llvm-2cd9a86da54f8be4eb2aff3e766b125cbdeb023f.tar.bz2 |
Don't append the working directory to absolute paths
This fixes a bug that happens when using -fdebug-prefix-map to remap
an absolute path to a relative path. Since the path was absolute
before remapping, it is safe to assume that concatenating the remapped
working directory would be wrong.
Differential Revision: https://reviews.llvm.org/D113718
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions