[all-commits] [llvm/llvm-project] a2db7d: reland: [clang] Don't append the working directory...
Keith Smiley via All-commits
all-commits at lists.llvm.org
Tue Mar 15 13:42:53 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a2db7d5e9c52804544363ea819de174bfaa7ecdd
https://github.com/llvm/llvm-project/commit/a2db7d5e9c52804544363ea819de174bfaa7ecdd
Author: Keith Smiley <keithbsmiley at gmail.com>
Date: 2022-03-15 (Tue, 15 Mar 2022)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/test/CodeGen/debug-prefix-map.c
Log Message:
-----------
reland: [clang] 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.
This was originally submitted as https://reviews.llvm.org/D113718, but
reverted because when testing with dwarf 5 enabled, the tests were too
strict.
Differential Revision: https://reviews.llvm.org/D121663
More information about the All-commits
mailing list