[llvm-dev] DIFile filenames containing directories

Adrian Prantl via llvm-dev llvm-dev at lists.llvm.org
Thu Nov 29 09:02:18 PST 2018


I noticed that clang produces DIFiles that look like

   DIFile(filename: "src/test.c", directory: "/path/to/pwd")

at first I thought this must be a bug, but this could also be a space-saving optimization to unique the redundant $PWD prefix of all paths.

Is this a bug or a feature?

-- adrian


More information about the llvm-dev mailing list