yinghuitan added a comment.

Do you plan to detect missing dwp file from 
`SymbolFileDWARF::GetDwpSymbolFile()` as well?



================
Comment at: lldb/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp:1755-1756
         cu_die.GetAttributeValueAsString(dwarf_cu, DW_AT_comp_dir, nullptr);
     if (!comp_dir)
       return nullptr;
 
----------------
We should detect and emit this error as well, like `can't locate <dwo_file> 
relative to working dir or DW_AT_comp_dir`


================
Comment at: lldb/test/API/commands/frame/var/TestFrameVar.py:199
+
+        # self.assertTrue(False, exe)
+        self.assertTrue(os.path.exists(main_dwo), 'Make sure "%s" file exists' 
% (main_dwo))
----------------
Delete?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D134252

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to