Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] install llvm on sparc/solaris"
2013 Jan 08
2
[LLVMdev] SVN GIT version corresponding to release
Hi All,
I was checking for GIT or SVN versions corresponding to llvm3.1 release by checking svn and git logs, but failed to find the exact match.
I checked with r156747, which is the last version it shows in
http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_31/
but when I 'diff' this with the 'downloaded llvm3.1 release'(http://llvm.org/releases/download.html#3.1), then I
2013 Jan 08
0
[LLVMdev] SVN GIT version corresponding to release
Won't it be
http://llvm.org/svn/llvm-project/llvm/tags/RELEASE_31/final/
On Tue, Jan 8, 2013 at 7:46 PM, Pankaj Gode <godepankaj at yahoo.com> wrote:
> Hi All,
>
> I was checking for GIT or SVN versions corresponding to llvm3.1 release by
> checking svn and git logs, but failed to find the exact match.
>
> I checked with r156747, which is the last version it shows
2013 Jan 08
1
[LLVMdev] SVN GIT version corresponding to release
I always though the /tags/RELEASE_xx/final branch would hold the final,
released tarball contents, but this does not appear to be the case, at
least not for 3.1. I can confirm that diffing /tags/RELEASE_31/final and
the 3.1 tarball shows some non-trivial changes.
The 3.2 release seems to be okay though; the diff only shows changes in the
last-modified timestamps in the HTML docs. Though I just
2013 Jan 03
2
[LLVMdev] Opt error
Hi Team,
I am migrating one of the Pass that was written for llvm2.2 or older to llvm3.1. The code snippet looks like the following:
Constant *func;
void add( Module *M) {
func = M->getOrInsertFunction("func", Type::getVoidTy(M->getContext()), NULL);
}
virtual bool runOnModule(Module &M) {
add (&M);
for(Module::iterator F = M.begin(), E = M.end(); F !=
2012 Aug 20
5
[LLVMdev] DomTreeNode
Hi Guys,
I am using the Postdom pass and I would like to get the root of the tree.
However,
everytime I try to get the root, I get a segfault. I don't know why the
environment can't
find DominatorTreeBase.
Below is the code that generates the Segfault. In my .h file I include
Dominators.h
PDT.getRootNode(); //PDT is a reference to a PostDominatorTree
dyld: lazy symbol binding
2013 Jan 03
0
[LLVMdev] Opt error
Hi Ahmad,
On 03/01/13 16:26, Hassan, Ahmad wrote:
> Hi Team,
>
> I am migrating one of the Pass that was written for llvm2.2 or older to llvm3.1.
> The code snippet looks like the following:
>
> Constant *func;
>
> void add( Module *M) {
>
> func = M->getOrInsertFunction("func", Type::getVoidTy(M->getContext()), NULL);
this function has no
2012 Aug 21
0
[LLVMdev] Fwd: DomTreeNode
That is what I don't understand. This symbol is defined in Dominators.h,
which I include
in my file. I don't understand why I am getting this error. Here is my opt
command,
"opt -load LLVMMyDomPass.dylib -mdp < test.bc > test.d.bc"
George
On Tue, Aug 21, 2012 at 3:25 AM, Duncan Sands <baldrick at free.fr> wrote:
> Hi George,
>
> ...
> > dyld: lazy
2012 Jun 04
2
[LLVMdev] llc unhandled attribute
Hi,
I was trying to do a source to source transformation in llvm from c++11
more basic c++ (to transform away auto etc.) using llvm3.1.
I generate llvm bitcode using "clang++ -emit-llvm ...", but executing llc
-march=cpp throws
/home/broes/software/llvm/lib/Target/CppBackend/CPPBackend.cpp:493: void
{anonymous}::CppWriter::printAttributes(const llvm::AttrListPtr&, const
2013 Jan 04
1
[LLVMdev] LLVM Pass Crashes
Hi Team,
I am writing an LLVM pass that compiles fine and opt instrumentation goes fine as well. But when I run the instrumented C-program then I get the following stack dump. My question is, how can I debug the problem in this scenario please?
// LLVM pass compiles fine and the following OPT instrumentation goes fine for basic malloc.bc program as well. Malloc.bc runs fine without any
2013 Oct 29
1
[LLVMdev] undefined symbol: _ZTIN4llvm10ModulePassE
I have a MdoulePass which compiles and runs fine with LLVM3.1. Then I
wanted to upgrade to LLVM3.3, it compiles and links fine, but when you run
it by "opt -load /path/to/.so", it shows this message:
undefined symbol: _ZTIN4llvm10ModulePassE
which means undefined symbol: llvm::ModulePass after demangling.
Googled for a while and still no clue.
Anybody have an idea?
Thanks,
Welson
2012 Aug 06
2
[LLVMdev] Code-emission problem
Hi Everyone,
When I compile a program with clang with debug symbols enabled and I try
to run it using the JIT (lli) I get the
following error message. I am running on Lion (10.7.4). Thanks.
George
>>
pseudo instructions should be removed before code emission
UNREACHABLE executed at
/Users/JD/Software/llvm3.1/llvm-3.1.src/lib/Target/X86/X86CodeEmitter.cpp:736!
0 lli
2012 Nov 24
1
[LLVMdev] profiling basic block frequency in LLVM3.1
Dear All LLVM Users,
I'm new to LLVM environment. I want to perform basic block profiling. I'm using LLVM3.1
I tried it with a simple 'c' code to find Max.No, mentioned below.
-----------------------------------------------------------------------------------------------------------------------------------------
#include <stdio.h>
int main()
{
unsigned int i,temp;
2013 Dec 20
3
[LLVMdev] Making LLVM safer in out-of-memory situations
>> To increase stability for us we have already moved the main part of the compilation to a separate process that may crash in case of an error without doing much harm, i.e. does not crash the database.
> Were there any interesting challenges that arose during this process?
> This seems to be an approach many folks are either taking or
> considering. If there are things we could
2012 Jun 14
0
[LLVMdev] Installation Error
Hi All,
I am installing llvm 3.1 and clang from the source on my Mac os x 10.5.8.
I got this
error in the middle of the compilation process:
llvm[4]: Compiling InitHeaderSearch.cpp for Release+Asserts build
/Users/georgebaah/llvm3.1/llvm-3.1.src/tools/clang/lib/Frontend/InitHeaderSearch.cpp:29:10:
fatal error:
'clang/Config/config.h' file not found
#include
2008 May 13
2
[LLVMdev] Python bindings available.
Hm. I may misunderstand, but I'm not sure that's an improvement over
the problem you're trying to solve. How about something like this?
(Please forgive any accent; I don't speak snake fluently.)
class Pet(object):
@staticmethod
def new():
# Create a 'free' pet. It can later become owned, but not to more
than one owner.
return
2008 May 13
0
[LLVMdev] Python bindings available.
On Tue, May 13, 2008 at 1:22 PM, Gordon Henriksen
<gordonhenriksen at mac.com> wrote:
> On 2008-05-13, at 02:12, Mahadevan R wrote:
>
> >>> That's not how the object works...
> >
> > Gordon, I think I can make it work if we have the following additional
> > function in LLVM-C:
> >
> > LLVMModuleRef LLVMGetModule(LLVMModuleProviderRef
2011 Dec 13
1
[LLVMdev] [PATCH] utils/unittest: Consistency of gtest and gtest_main libs.
$(llvm-config --libs | tr " " "\n" | grep gtest) returns:
-lgtest_main
-lgtest
instead of non-valid:
-lLLVMgtest_main
-lLLVMgtest
It also fixes:
$(ld): cannot find -lLLVMgtest
$(ld): cannot find -lLLVMgtest_main
---
unittests/Makefile.unittest | 2 +-
utils/llvm-build/llvmbuild/componentinfo.py | 4 ++--
utils/llvm-build/llvmbuild/main.py |
2013 Oct 31
2
[LLVMdev] Why does cmake use LLVMBuild.txt to specify the LLVM-libs link order?
Hi,
I've been working on a set of patches to statically link polly in the LLVM
tools. There remains an error I can't seem to solve when linking llvm-lto (all
other tools luckily get linked correctly): it insists adding libLLVMipo.a after
libLLVMPolly.a on the link command, resulting in an error of the form:
PassManagerBuilder.cpp:(.text+0x499): undefined reference to
2008 May 13
2
[LLVMdev] Python bindings available.
On 2008-05-13, at 02:12, Mahadevan R wrote:
>>> That's not how the object works...
>
> Gordon, I think I can make it work if we have the following additional
> function in LLVM-C:
>
> LLVMModuleRef LLVMGetModule(LLVMModuleProviderRef MP) {
> return wrap(unwrap(MP)->getModule());
> }
Can I ask, how general is your solution? I only intended to use this
2015 Mar 09
2
[LLVMdev] Out of tree targets
Hey all,
Quick query on out of tree target support - at present I can drop a
folder Foo into <llvm>/lib/Target/Foo and use the CMake option
LLVM_EXPERIMENTAL_TARGETS_TO_BUILD to pick up my target. The issue is
that I still need to patch the one LLVMBuild.txt file in
<llvm>/lib/Target with;
|iff --git a/lib/Target/LLVMBuild.txt b/lib/Target/LLVMBuild.txt
index 4112046..6e42cbe