[PATCH] D113716: sys::path: Detect posix paths starting with ~ as absolute

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Nov 12 15:47:24 PST 2021


aprantl abandoned this revision.
aprantl added a comment.

Thanks for the feedback!



================
Comment at: llvm/test/tools/llvm-dwarfdump/AArch64/tilde.s:4
+# RUN: | FileCheck %s
+# CHECK: DW_AT_decl_file ("~user/foo/t.c")
+.section    __TEXT,__text,regular,pure_instructions
----------------
dexonsmith wrote:
> Seems potentially like a bug in whatever generated the DWARF for this location to appear un-expanded; or, potentially a response to an interesting user request, such as specifying `-fdebug-prefix-map="some/path=~user"`.
This is literally how this testcase was created, yes.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113716/new/

https://reviews.llvm.org/D113716



More information about the llvm-commits mailing list