<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Segfault in llvm::object::MachOObjectFile::getSectionName"
   href="https://bugs.llvm.org/show_bug.cgi?id=36514">36514</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segfault in llvm::object::MachOObjectFile::getSectionName
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Object
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jdevlieghere@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19954" name="attach_19954" title="reproducer">attachment 19954</a> <a href="attachment.cgi?id=19954&action=edit" title="reproducer">[details]</a></span>
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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>