Bug ID: 41795
           Summary: Many tests fail when using PDB_ReaderType::Native in
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs

llvm-symbolize currently uses DIA for getting symbols from PDBs on Windows.

But we also have native PDB reading capabilities now, and it would be nice not
having to depend on DIA.

Unfortunately, symbolization with PDB_ReaderType::Native doesn't seem to work,
see the attached test log.

diff --git a/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
index 7e91a20416b..1ad18ff6e28 100644
--- a/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
+++ b/llvm/lib/DebugInfo/Symbolize/Symbolize.cpp
@@ -411,7 +411,7 @@ LLVMSymbolizer::getOrCreateModuleInfo(const std::string
     if (!EC && DebugInfo != nullptr && !PDBFileName.empty()) {
       using namespace pdb;
       std::unique_ptr<IPDBSession> Session;
-      if (auto Err = loadDataForEXE(PDB_ReaderType::DIA,
+      if (auto Err = loadDataForEXE(PDB_ReaderType::Native,
                                     Objects.first->getFileName(), Session)) {

ninja -C build.release check-all > \src\log.txt 2>&1

  Expected Passes    : 47543
  Expected Failures  : 252
  Unsupported Tests  : 1857
  Unexpected Failures: 20

Looking at some of the outputs from the asan tests indicates that we're not
getting symbolized stack traces.

Does anyone know what the status is of the native PDB reader?

You are receiving this mail because:
You are on the CC list for the bug.
llvm-bugs mailing list

Reply via email to