[LLVMdev] llvm-dis fails to parse bytecode emitted by clang

Lorenzo De Carli lorenzo at cs.wisc.edu
Tue Oct 26 13:09:33 PDT 2010


Ehm... this is embarassing. I realized that an old version of LLVM was
laying around on my machine and in $PATH, so I was running an old
version of llvm-dis without realizing it. Once I removed it,
everything started working perfectly.

Sorry for the false alarm :-(

Lorenzo


On Tue, Oct 26, 2010 at 2:28 PM, Duncan Sands <baldrick at free.fr> wrote:
> Hi Lorenzo,
>
>> Thanks to everyone for the quick replies! I spent some time looking
>> into the issue. It turns out that llvm-dis crashes on CLANG-generated
>> bytecode if LLVM is compiled for a 64-bit architecture. The problem
>> disappears when compiling for a 32-bit architecture. Should I file a
>> bug report?
>
> it still sounds like LLVM is being miscompiled to me.  What compiler
> did you use to build LLVM?
>
> Ciao,
>
> Duncan.
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>




More information about the llvm-dev mailing list