<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </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 --- - unhandled relocation PPC_RELOC_VANILLA in DWARF [powerpc-darwin8]"
   href="http://llvm.org/bugs/show_bug.cgi?id=15592">15592</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>unhandled relocation PPC_RELOC_VANILLA in DWARF [powerpc-darwin8]
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>new-bugs
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Macintosh
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>MacOS X
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

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

        <tr>
          <th>Component</th>
          <td>new bugs
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>fang@csl.cornell.edu
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After I implemented a draft of PPCMachObjectWriter, I started seeing a few
DebugInfo test failures (code that was never reached before, most likely).

For example:

FAIL: LLVM :: DebugInfo/two-cus-from-same-file.ll (4009 of 7486)
******************** TEST 'LLVM :: DebugInfo/two-cus-from-same-file.ll' FAILED
*
*******************
Script:
--
gtimeout 5m  /Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./llc
/Volumes
/Isolde/sources/LLVM-svn/llvm.git/test/DebugInfo/two-cus-from-same-file.ll -o
/V
olumes/Isolde/builds/LLVM/gcc40-cmake-build/test/DebugInfo/Output/two-cus-from-s
ame-file.ll.tmp -filetype=obj -O0
gtimeout 5m 
/Users/fang/local/src/LLVM-svn/gcc40-cmake-build/bin/./llvm-dwarfdu
mp -debug-dump=info
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/test/DebugInfo
/Output/two-cus-from-same-file.ll.tmp |
/Users/fang/local/src/LLVM-svn/gcc40-cma
ke-build/bin/./FileCheck
/Volumes/Isolde/sources/LLVM-svn/llvm.git/test/DebugInf
o/two-cus-from-same-file.ll
--
Exit Code: 1
Command Output (stderr):
--
error: failed to compute relocation: PPC_RELOC_VANILLA
/Volumes/Isolde/sources/LLVM-svn/llvm.git/test/DebugInfo/two-cus-from-same-file.
ll:68:10: error: expected string not found in input
; CHECK: {{DW_TAG_compile_unit}}
         ^
<stdin>:1:1: note: scanning from here
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/test/DebugInfo/Output/two-cus-from
-same-file.ll.tmp: file format Mach-O 32-bit ppc
^
<stdin>:1:76: note: possible intended match here
/Volumes/Isolde/builds/LLVM/gcc40-cmake-build/test/DebugInfo/Output/two-cus-from
-same-file.ll.tmp: file format Mach-O 32-bit ppc
                                                                           ^
--

********************

Observed since around r175024, around the time I made the first Mach-O/PPC
writer:
<a href="http://www.csl.cornell.edu/~fang/sw/llvm/logs/llvm-r175024b-powerpc-darwin8-g++-4.0.1-debug-check.log.bz2">http://www.csl.cornell.edu/~fang/sw/llvm/logs/llvm-r175024b-powerpc-darwin8-g++-4.0.1-debug-check.log.bz2</a>

So I need to figure out how to handle this somewhere near
lib/DebugInfo/DWARFContext.cpp</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>