Stefan =?utf-8?q?Gränitz?= <[email protected]>,
Stefan =?utf-8?q?Gränitz?= <[email protected]>,
Stefan =?utf-8?q?Gränitz?= <[email protected]>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/[email protected]>
================
@@ -1108,6 +1108,21 @@ std::optional<FileSpec> ObjectFilePECOFF::GetDebugLink()
{
return std::nullopt;
}
+std::optional<FileSpec> ObjectFilePECOFF::GetPDBPath() {
+ llvm::StringRef pdb_file;
+ const llvm::codeview::DebugInfo *pdb_info = nullptr;
+ if (llvm::Error Err = m_binary->getDebugPDBInfo(pdb_info, pdb_file)) {
+ // Ignore corrupt DebugInfo sections
----------------
JDevlieghere wrote:
```suggestion
// Ignore corrupt DebugInfo sections.
```
https://github.com/llvm/llvm-project/pull/183302
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits