[LLVMbugs] [Bug 15592] New: unhandled relocation PPC_RELOC_VANILLA in DWARF [powerpc-darwin8]

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Mar 25 14:32:37 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15592

            Bug ID: 15592
           Summary: unhandled relocation PPC_RELOC_VANILLA in DWARF
                    [powerpc-darwin8]
           Product: new-bugs
           Version: trunk
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: fang at csl.cornell.edu
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

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:
http://www.csl.cornell.edu/~fang/sw/llvm/logs/llvm-r175024b-powerpc-darwin8-g++-4.0.1-debug-check.log.bz2

So I need to figure out how to handle this somewhere near
lib/DebugInfo/DWARFContext.cpp

-- 
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/20130325/4409bf75/attachment.html>


More information about the llvm-bugs mailing list