[all-commits] [llvm/llvm-project] 042c23: [DebugInfo] Remove dots from getFilenameByIndex re...
Petr Hosek via All-commits
all-commits at lists.llvm.org
Mon Sep 14 20:31:39 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 042c23506869b4ae9a49d2c4bc5ea6e6baeabe78
https://github.com/llvm/llvm-project/commit/042c23506869b4ae9a49d2c4bc5ea6e6baeabe78
Author: Petr Hosek <phosek at google.com>
Date: 2020-09-14 (Mon, 14 Sep 2020)
Changed paths:
M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
M llvm/test/tools/llvm-symbolizer/frame-fortran.s
Log Message:
-----------
[DebugInfo] Remove dots from getFilenameByIndex return value
When concatenating directory with filename in getFilenameByIndex, we
might end up with a path that contains extra dots. For example, if the
input is /path and ./example, we would return /path/./example. Run
sys::path::remove_dots on the output to eliminate unnecessary dots.
Differential Revision: https://reviews.llvm.org/D87657
More information about the All-commits
mailing list