Displaying 20 results from an estimated 1000 matches similar to: "[LLVMdev] dynamic_cast error"
2011 Apr 21
2
[LLVMdev] Compilation error with LLVM 2.9
Hi all,
I wrote code that compiled with llvm 2.8, but now I'm using llvm
2.9 and it doesn't compile anymore:
My code looks like this:
User *U;
...
if (PHINode * phi = dyn_cast<PHINode>(U)) {
...
BasicBlock * Pred = phi->getIncomingBlock(I);
...
}
And when I compile it with clang:
Live.cc:130:27: error: member access into
2004 Jun 23
0
[LLVMdev] weird issue with mem2reg
MetaSplit is an anlysis I just finished writing. It doesn't alter anything,
all it does is build a set of "program instructions". For some reason even
though if I run it with any other combination of passes I've found, anytime
I run it with mem2reg I get a seg fault in dyn_cast! Here's output:
Starting program:
/mounts/zion/disks/0/localhome/pmeredit/llvm/tools/Debug/opt
2004 Jun 23
0
[LLVMdev] weird issue with mem2reg
----- Original Message -----
From: "Chris Lattner" <sabre at nondot.org>
To: <llvmdev at cs.uiuc.edu>
Sent: Wednesday, June 23, 2004 4:05 PM
Subject: Re: [LLVMdev] weird issue with mem2reg
> On Wed, 23 Jun 2004, Patrick Meredith wrote:
>
> > MetaSplit is an anlysis I just finished writing. It doesn't alter
anything,
> > all it does is build a set of
2004 Jun 23
2
[LLVMdev] weird issue with mem2reg
On Wed, 23 Jun 2004, Patrick Meredith wrote:
> MetaSplit is an anlysis I just finished writing. It doesn't alter anything,
> all it does is build a set of "program instructions". For some reason even
> though if I run it with any other combination of passes I've found, anytime
> I run it with mem2reg I get a seg fault in dyn_cast! Here's output:
>
>
2009 Jul 04
2
[LLVMdev] Pool Allocation Segfaulting with opt
Hi,
I'm trying to run the pool allocation pass through opt, and I'm running
into problems. It segfaults frequently; for example, it does this when
the input is a simple Hello World program:
[simmon12 at apoc testcases]$ opt -load
/home/vadve/simmon12/llvm/llvm/projects/llvm-poolalloc/Debug/lib/libLLVMDataStructure.so
-load
2009 Sep 01
1
[LLVMdev] Problem building libprofile.
Hi,
when I try to build libprofile with r80670 (both llvm and llvm-gcc) I
get this error:
make[1]: Entering directory `.../llvm-svn-debug-obj/runtime/libprofile'
llvm[1]: Building Debug Bytecode Archive libprofile_rt.bca (internalize)
llvm[1]: Installing Debug Shared Library
/nfs/a5/astifter/astifter/llvm/llvm-svn-debug-obj/../llvm-svn-debug-install/lib/libprofile_rt.so
0 llvm-ld
2009 Jul 06
0
[LLVMdev] Pool Allocation Segfaulting with opt
Patrick Alexander Simmons wrote:
> Hi,
>
> I'm trying to run the pool allocation pass through opt, and I'm running
> into problems. It segfaults frequently; for example, it does this when
> the input is a simple Hello World program:
>
Can you email me the bitcode file that is causing the problem?
> [simmon12 at apoc testcases]$ opt -load
>
2011 Aug 24
0
[LLVMdev] VMKit Development
Hi Akshat,
> Going ahead, the llvm-ld seems to segfault (build on Linux with llvm-ld v3.0svn
> build):
try updating to latest LLVM from svn - this was fixed a day or two ago.
Ciao, Duncan.
>
> make[2]: Entering directory `/root/code/vmkit/mmtk/mmtk-j3'
> llvm[2]: Building Debug+Asserts Bytecode Module MMTKRuntime.bc
> 0 llvm-ld 0x0884c66e
> 1 llvm-ld 0x0884c3fb
2011 Aug 24
2
[LLVMdev] VMKit Development
Hi,
Going ahead, the llvm-ld seems to segfault (build on Linux with llvm-ld
v3.0svn build):
make[2]: Entering directory `/root/code/vmkit/mmtk/mmtk-j3'
llvm[2]: Building Debug+Asserts Bytecode Module MMTKRuntime.bc
0 llvm-ld 0x0884c66e
1 llvm-ld 0x0884c3fb
2 0xb7891400 __kernel_sigreturn + 0
3 llvm-ld 0x083be9e9 llvm::isa_impl<llvm::Constant,
2011 Aug 25
0
[LLVMdev] VMKit Development
Hi Akshat,
Could you give us your configuration? CPU/OS? How did you configure and
build llvm and vmkit?
Nicolas
On Thu, Aug 25, 2011 at 4:12 AM, Akshat Gupta <g.akshat at gmail.com> wrote:
> Hi,
> I tried building again with the latest llvm.
> I am getting another seg fault:
>
> make[2]: Entering directory `/root/code/vmkit/mmtk/java'
> Buildfile:
2011 Aug 26
0
[LLVMdev] VMKit Development
On Fri, Aug 26, 2011 at 1:08 AM, Akshat Gupta <g.akshat at gmail.com> wrote:
> Hi,
> Here are my build details.
> OS:
> Linux scop 2.6.38-gentoo-r6 #1 SMP Sat Jul 9 13:07:18 EST 2011 i686
> Intel(R) Core(TM) i5-2415M CPU @ 2.30GHz GenuineIntel GNU/Linux
> Machine: VirtualBox (32 bit)
>
> Configure (VMKit):
> ./configure --with-llvmsrc=/root/code/llvm
2011 Aug 25
2
[LLVMdev] VMKit Development
Hi,
I tried building again with the latest llvm.
I am getting another seg fault:
make[2]: Entering directory `/root/code/vmkit/mmtk/java'
Buildfile: /root/code/vmkit/mmtk/java/build.xml
main:
[javac] /root/code/vmkit/mmtk/java/build.xml:4: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last; set
to false for repeatable builds
[javac] Compiling 1
2011 Aug 25
2
[LLVMdev] VMKit Development
Hi,
Here are my build details.
OS:
Linux scop 2.6.38-gentoo-r6 #1 SMP Sat Jul 9 13:07:18 EST 2011 i686 Intel(R)
Core(TM) i5-2415M CPU @ 2.30GHz GenuineIntel GNU/Linux
Machine: VirtualBox (32 bit)
Configure (VMKit):
./configure --with-llvmsrc=/root/code/llvm --with-llvmobj=~/code/llvm
--with-gnu-classpath-libs=/usr/gnu-classpath-0.98/lib/classpath
LD=/usr/bin/llvm-ld
2011 Aug 26
0
[LLVMdev] VMKit Development
I just noticed there was some .h move around in llvm and fixed the includes
in vmkit. Maybe you were just removing the failing includes?
In any case, I have updated vmkit for llvm trunk. Let me know if updating
helps.
Nicolas
On Fri, Aug 26, 2011 at 12:00 PM, Akshat Gupta <g.akshat at gmail.com> wrote:
> Yep, I am compiling with llvm-gcc. Also I removed the LD flag on the
>
2018 Feb 24
1
Parsing a bit code file
I am trying to parse LLVM IR from a bit code file. I went through the
following steps.
hello.cpp
#include <iostream>
int main() {
std::cout << "Hello world!" << "\n";
return 0;}
dump.cpp
#include <llvm/IR/Module.h>#include <llvm/IRReader/IRReader.h>#include
<llvm/IR/LLVMContext.h>#include <llvm/Support/SourceMgr.h>
using
2011 Aug 26
2
[LLVMdev] VMKit Development
Yep, I am compiling with llvm-gcc. Also I removed the LD flag on the
configure, it still gives the same segafault.
Thanks,
Akshat
On Fri, Aug 26, 2011 at 4:21 AM, Nicolas Geoffray <
nicolas.geoffray at gmail.com> wrote:
> On Fri, Aug 26, 2011 at 1:08 AM, Akshat Gupta <g.akshat at gmail.com> wrote:
>
>> Hi,
>>
>> Here are my build details.
>> OS:
>>
2011 Aug 27
0
[LLVMdev] VMKit Development
This error usually shows up when vmkit cannot find the classpath libs and
jar. Make sure --with-gnu-classpath-libs points to the directory of .so
files are, and that --with-gnu-classpath-glibj points to glibj.zip.
Nicolas
On Sat, Aug 27, 2011 at 5:13 AM, Akshat Gupta <g.akshat at gmail.com> wrote:
> Hi,
> I just did a reconfigure and rebuild with the latest svn for vmkit code.
>
2011 Aug 29
0
[LLVMdev] VMKit Development
Hi Akshat,
Please use version 0.97.2. vmkit does not support 0.98.
Also, it should be fine to not compile gtk+ peer.
Nicolas
On Mon, Aug 29, 2011 at 8:58 PM, Akshat Gupta <g.akshat at gmail.com> wrote:
> Thanks Nicolas,
> I do have --with-gnu-classpath-libs and --with-gnu-classpath-glibj
> pointing to the right thing, but I have gnu class path 0.98 instead of 0.97
> and its
2017 Sep 17
2
assertion triggered since update to llvm 5
Dump the IR before newgvn and run through opt -newgvn. It should crash. I'm
not familiar with your frontend but you might want to use -mllvm
-opt-bisect-limit.
On Sep 17, 2017 1:06 PM, "Andrew Kelley" <superjoe30 at gmail.com> wrote:
Valgrind is strictly better than address sanitizer, is that right? It runs
valgrind-clean:
[nix-shell:~/dev/zig/build-llvm5-debug]$ valgrind
2011 Aug 27
2
[LLVMdev] VMKit Development
Hi,
I just did a reconfigure and rebuild with the latest svn for vmkit code.
The code still seg faults but the stack trace seems to have changed.
llvm[2]: Building Debug+Asserts mmtk-vmkit.jar all
vmjc: JavaRuntimeJIT.cpp:172: uint32 j3VirtualTableLookup(j3::Class*,
uint32, uint32*, j3::JavaObject*): Assertion
`dmeth->classDef->isInitializing() && "Class not ready in a virtual