[PATCH] D70759: [llvm-symbolizer] Support debug file lookup using build ID
Vedant Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jan 24 09:37:47 PST 2020
vsk added subscribers: delcypher, vsk.
vsk added a comment.
Herald added a reviewer: jhenderson.
Hey @phosek, @delcypher and I noticed that a Swift+ASan test is failing due to llvm-symbolizer crashing like this:
(gdb) bt
#0 0x00007f6c3adbae97 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f6c3adbc801 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00000000004228d7 in llvm::Error::fatalUncheckedError() const ()
#3 0x000000000046d515 in llvm::symbolize::LLVMSymbolizer::lookUpBuildIDObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::object::ELFObjectFileBase const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#4 0x000000000046dffc in llvm::symbolize::LLVMSymbolizer::getOrCreateObjectPair(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#5 0x000000000046a473 in llvm::symbolize::LLVMSymbolizer::getOrCreateModuleInfo(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#6 0x000000000046a9c7 in llvm::symbolize::LLVMSymbolizer::symbolizeInlinedCode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, llvm::object::SectionedAddress) ()
#7 0x000000000040dcd6 in symbolizeInput(llvm::StringRef, llvm::symbolize::LLVMSymbolizer&, llvm::symbolize::DIPrinter&) ()
#8 0x000000000040cff2 in main ()
Based on the history I thought I'd ping this patch (although I'm not sure I spot an unchecked error). Any help appreciated.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70759/new/
https://reviews.llvm.org/D70759
More information about the llvm-commits
mailing list