[lldb-dev] [Bug 45869] New: ELF debug sections relocation not implemented for 32bit targets
via lldb-dev
lldb-dev at lists.llvm.org
Sun May 10 19:28:08 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=45869
Bug ID: 45869
Summary: ELF debug sections relocation not implemented for
32bit targets
Product: lldb
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: omair.javaid at linaro.org
CC: jdevlieghere at apple.com, llvm-bugs at lists.llvm.org
Following tests fail on arm-linux-gnueabihf with lldb crashing with an
assertion
caused by
Line 2584,2592 lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
if (hdr->Is32Bit()) {
switch (reloc_type(rel)) {
case R_386_32:
case R_386_PC32:
default:
// FIXME: This asserts with this input:
//
// foo.cpp
// int main(int argc, char **argv) { return 0; }
//
// clang++.exe --target=i686-unknown-linux-gnu -g -c foo.cpp -o foo.o
//
// and running this on the foo.o module.
assert(false && "unexpected relocation type");
}
}
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20200511/f685a523/attachment.html>
More information about the lldb-dev
mailing list