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@lists.llvm.org
Reporter: omair.jav...@linaro.org
CC: jdevliegh...@apple.com, llvm-b...@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.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev