DavidSpickett added inline comments.
================ Comment at: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:1737 + if (!dwo_file.IsRelative()) { + found = FileSystem::Instance().Exists(dwo_file); + } else { ---------------- clayborg wrote: > Maybe we can also check the debug info search paths to see if they contain > just the basename in case someone sends you a binary and any needed .dwo > files? > > So if we have a DWO path of "/users/someone/build/foo.dwo", we would check > each of the debug info search paths for: > ``` > path + dwo_file.GetFilename() > ``` > This would allow someone to send a binary to someone else and allow them to > load it up. > > But any such search might belong down below this entire if/else statement > when the file isn't found: > > ``` > if (!found) { > // Search for debug info path + basename... > } > ``` Good idea, I'll write a test for that scenario and see if it makes sense here or in a follow up. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D157609/new/ https://reviews.llvm.org/D157609 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits