[llvm] [dsymutil] Add support for inline DWARF source files. (PR #77016)

Adrian Prantl via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 15:29:13 PST 2024


================
@@ -859,13 +859,19 @@ void DwarfStreamer::emitLineTablePrologueV5IncludeAndFileTable(
   for (auto Include : P.IncludeDirectories)
     emitLineTableString(P, Include, DebugStrPool, DebugLineStrPool);
 
+  bool InlineSources =
+      std::any_of(P.FileNames.begin(), P.FileNames.end(), [](auto File) {
----------------
adrian-prantl wrote:

Oh that's great!

https://github.com/llvm/llvm-project/pull/77016


More information about the llvm-commits mailing list