[llvm] [dsymutil] Add support for inline DWARF source files. (PR #77016)
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 4 14:38:36 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) {
----------------
JDevlieghere wrote:
Should this be `auto&` to avoid potentially making a copy?
https://github.com/llvm/llvm-project/pull/77016
More information about the llvm-commits
mailing list