[LLVMbugs] [Bug 5182] New: llvm-g++ creates file for which llvm-dis says " Invalid METADATA_ATTACHMENT reader"

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Oct 13 12:11:41 PDT 2009


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

           Summary: llvm-g++ creates file for which llvm-dis says "Invalid
                    METADATA_ATTACHMENT reader"
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: timo.lindfors at iki.fi
                CC: llvmbugs at cs.uiuc.edu


Steps to reproduce:
1) git clone
git://triplane-class.git.sourceforge.net/gitroot/triplane-class/triplane-class
2) cd triplane-class
3) llvm-g++ -emit-llvm -o src/triplane.o -Wall -Isrc -O2 -g  `sdl-config
--cflags` -DHAVE_SDL_MIXER
"-DTRIPLANE_DATA=\"/usr/local/share/games/triplane-classic\"" -c
src/triplane.cpp
4) llvm-dis src/triplane.o

Expected results:
4) llvm-dis disassembles the bitcode file and creates triplane.ll

Actual results:
4) llvm-dis does not create triplane.ll and prints the following error:

llvm-dis: Invalid METADATA_ATTACHMENT reader!


-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list