[llvm-bugs] [Bug 36514] New: Segfault in llvm::object::MachOObjectFile::getSectionName
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Feb 26 00:36:37 PST 2018
https://bugs.llvm.org/show_bug.cgi?id=36514
Bug ID: 36514
Summary: Segfault in
llvm::object::MachOObjectFile::getSectionName
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Object
Assignee: unassignedbugs at nondot.org
Reporter: jdevlieghere at apple.com
CC: llvm-bugs at lists.llvm.org
Created attachment 19954
--> https://bugs.llvm.org/attachment.cgi?id=19954&action=edit
reproducer
$ llvm-objdump -r sibling.o
sibling.o: file format Mach-O 32-bit ppc
RELOCATION RECORDS FOR [__DWARF,__debug_info]:
0 llvm-objdump 0x0000000105918955 PrintStackTrace(void*) + 37
1 llvm-objdump 0x0000000105918d84 SignalHandler(int) + 468
2 libsystem_platform.dylib 0x00007fff5a3c1f5a _sigtramp + 26
3 libsystem_platform.dylib 0x00000001066042c4 _sigtramp + 18446603343404213124
4 llvm-objdump 0x00000001058e13f1
llvm::object::MachOObjectFile::getSectionName(llvm::object::DataRefImpl,
llvm::StringRef&) const + 289
5 llvm-objdump 0x00000001058e2d80
llvm::object::MachOObjectFile::printRelocationTargetName(llvm::InMemoryStruct<llvm::object::macho::RelocationEntry>&,
llvm::raw_string_ostream&) const + 608
6 llvm-objdump 0x00000001058e337f
llvm::object::MachOObjectFile::getRelocationValueString(llvm::object::DataRefImpl,
llvm::SmallVectorImpl<char>&) const + 1087
7 llvm-objdump 0x00000001057df625
DumpObject(llvm::object::ObjectFile const*) + 2037
8 llvm-objdump 0x00000001057de49c main + 1388
9 libdyld.dylib 0x00007fff5a0be015 start + 1
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180226/01cacea5/attachment-0001.html>
More information about the llvm-bugs
mailing list