similar to: [LLVMdev] LLVM+Clang as a shared library

Displaying 20 results from an estimated 600 matches similar to: "[LLVMdev] LLVM+Clang as a shared library"

2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
Hi Ashok, $ cd bin/bin $ ./llvm-config --ldflags --libs -L/home/ubuntu/bin/lib   -ldl -lpthread -lLLVMAsmParser -lLLVMTableGen -lLLVMDebugInfo -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Desc -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMJIT -lLLVMMCDisassembler -lLLVMMCParser -lLLVMInstrumentation -lLLVMInterpreter
2012 Sep 21
0
[LLVMdev] Clang API parsing of the destructor
On Fri, Sep 21, 2012 at 12:22 PM, Kamaljit Lall <klall at factset.com> wrote: > I am using the clang API (version 3.1 - trunk 153913) to compile some > very simple code as follows**** > > class MyClass > { > ~MyClass() ; > > }; > > MyClass::~MyClass() > { > > } > > int main() > { > return 0; > } **** > > My problem is that
2012 Sep 21
2
[LLVMdev] Clang API parsing of the destructor
I am using the clang API (version 3.1 - trunk 153913) to compile some very simple code as follows class MyClass { ~MyClass() ; }; MyClass::~MyClass() { } int main() { return 0; } My problem is that I get the error message: test.cpp:20:10: error: destructor cannot have a return type MyClass::~MyClass() If someone can point me to the right direction that would be great. It compiles fine if
2013 Oct 03
0
[LLVMdev] libclang JIT frontend
Hi, I'm not sure if this is a libclang, llvm::cl or clang-interpreter issue so I'll try posting here for a response. I am using libclang as a frontend to the LLVM JIT (3.3 release). I started from the clang-interpreter example and have everything working (given a C/C++ source file I can have it JIT'd to memory and executed) for a single run. When I try to compile a second source
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
You need to link in the libclang* as well. On 7/10/2012 1:22 PM, NY Knicks Fan wrote: > Hi Ashok, > > $ cd bin/bin > $ ./llvm-config --ldflags --libs > -L/home/ubuntu/bin/lib -ldl -lpthread > -lLLVMAsmParser -lLLVMTableGen -lLLVMDebugInfo -lLLVMX86Disassembler > -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter > -lLLVMX86Desc -lLLVMX86Info
2012 Jul 10
0
[LLVMdev] Unable to do even basic Clang tutorial
OK.  Thanks.  I now get the following error (which appears to be a problem w/ the tutorial itself?): $ /home/ubuntu/bin/bin/clang++ -I /home/ubuntu/bin/include/  -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS tutorial1.cpp/tmp/tutorial1-LQ71fW.o: In function `main': tutorial1.cpp:(.text+0x42): undefined reference to `llvm::outs()' tutorial1.cpp:(.text+0x72): undefined reference to
2012 May 29
1
[LLVMdev] [cfe-commits] r157260 - in /cfe/trunk: include/clang/Rewrite/Rewriter.h lib/Rewrite/Rewriter.cpp unittests/CMakeLists.txt unittests/Tooling/RewriterTest.cpp unittests/Tooling/RewriterTestContext.h
Manuel, After the discussion at last night, I have agreed that GetTemporaryDirectory() on Win32 would do bad thing, thank you. dir = GetTemporaryDirectory(); dir.eraseFromDisk(erase_contents = true); dir = GetTemporaryDirectory(); /* It doesn't create anything on Win32 due to caching */ I suppose Manuel wants GetTemporaryDirectory() to keep semantics similar mkdtemp(3). Though it is in
2012 Jul 10
2
[LLVMdev] Unable to do even basic Clang tutorial
You will need to link to the LLVM/clang libraries. To get the correct flags, you can run: ./llvm-config --ldflags --libs and use the flags reported. On 7/10/2012 11:35 AM, NY Knicks Fan wrote: > OK. Thanks. I now get the following error (which appears to be a > problem w/ the tutorial itself?): > > $ /home/ubuntu/bin/bin/clang++ -I /home/ubuntu/bin/include/ >
2016 Oct 19
3
IntrusiveRefCntPtr vs std::shared_ptr
why llvm contains IntrusiveRefCntPtr instead of using only std::shared_ptr? IntrusiveRefCntPtr widely used in llvm and clang source code. Due to better performance? for example in main func of clang frontend: int cc1_main(ArrayRef<const char *> Argv, const char *Argv0, void *MainAddr) { ensureSufficientStack(); std::unique_ptr<CompilerInstance> Clang(new CompilerInstance());
2010 Aug 18
1
[LLVMdev] clang: call extern function using JIT
Heres my full code listing, im totally stuck. // Whistle.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include "clang/CodeGen/CodeGenAction.h" #include "clang/Driver/Compilation.h" #include "clang/Driver/Driver.h" #include "clang/Driver/Tool.h" #include
2012 Jul 10
3
[LLVMdev] Unable to do even basic Clang tutorial
Add -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS to your compilation flag. On 7/10/2012 11:23 AM, NY Knicks Fan wrote: > Hi Ashok, > > I created a new Ubuntu 12.04 virtual machine and followed directions > except that I know use your cmake command instead of configure, and I > got the error below. > > Any help is very much appreciated. > > > $
2011 Oct 13
1
Database `default' couldn't be opened
Hello., I configured Xapain in local machine (ubuntu 11.04). The configurations which i did are as follows Xapian Installation - 1) Xapian-core-1.2.7 - tar xvzf xapian-core-1.2.7.tar.gz - cd xapian-core-1.2.7 - ./configure --prefix=/usr/local - make - make install 2) Xapian-binding-1.2.7 - tar xvzf xapian-binding-1.2.7.tar.gz - cd xapian-binding-1.2.7 - ./configure --prefix=/usr/local
2013 Aug 02
1
Building klibc on 64-bit Ubuntu
Hi, I am trying to build Klibc on a 64-bit Ubuntu on a x86 machine. Here are the steps I followed: 1. Got the source wget https://launchpad.net/ubuntu/+archive/primary/+files/klibc_2.0.1.orig.tar.gz tar xvzf klibc_2.0.1.orig.tar.gz wget https://launchpad.net/ubuntu/+archive/primary/+files/klibc_2.0.1-3.1ubuntu1.debian.tar.gz tar xvzf
2011 Apr 09
1
Pretty URLs for omega?
Hello :-) How can the default omega URL be prettified? http://<host_ID>/cgi-bin/omega is working fine, giving us all omega's default CGI parameters. Now we want multiple databases which could be accessed using http://<host_ID>/cgi-bin/omega?DB=<index_ID> but this is starting to get messy. It will get messier when we start to customise templates with
2008 Jun 12
1
broken pipe when working on open files (?), MacOS X, 3.0.2/3.0.3pre2
Hello all, I have trouble to use rsync (tested with 3.0.2 and 3.0.3pre2) on MacOS X 10.3. Rsync always seems to stop when working on open files (?). Source is my laptop hard disk, destination a USB attached external drive. If I stop Firefox for instance all runs smoothly. This is how I built rsync: #!/bin/bash # VERSION=3.0.2 VERSION=3.0.3pre2 DIR="rsync-$VERSION"
2014 Oct 10
2
[LLVMdev] lld coding style
On 10.10.2014 02:51, Sean Silva wrote: > On Wed, Oct 8, 2014 at 10:59 AM, Manuel Klimek <klimek at google.com> wrote: >> On a different note: >> My favorite feature of Phabricator: if you look at a file in blame mode, >> there are little "<<" next to the revision, which lets you jump to the file >> "past that revision". This lets one
2020 Jun 09
4
[RFC] Refactor Clang: move frontend/driver/diagnostics code to LLVM
Thank you all for your feedback, this has been very helpful! There have been a few important points raised by different people. Below I try to address them one by one. I hope that you don't mind me sending it in one email. Please let me know if I missed something! *QUESTIONS RAISED IN PREVIOUS EMAILS* On 02/06/2020 20:51, Eli Friedman wrote: > Separate from clang, LLVM itself actually
2006 Mar 28
3
compiling php with fcgi on tiger
I can''t figure out how to compile php with fcg enabled. I found a website which gives an example of how to write options in configure http://scoops.totallyrule.com/articles/2006/02/01/mysql5-ab-package-and-php5 So I wrote ./configure --prefix=/usr/local --program-suffix=5 --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect --with-mysqli=/usr/local/mysql/bin/mysql_config
2010 Aug 18
0
[LLVMdev] clang: call extern function using JIT
I tried what you said, now I get: LLVM ERROR: Program used external function 'yipee' which could not be resolved! Stack dump: 0. Running pass 'X86 Machine Code Emitter' on function '@main' did not even get as far as a breakpoint. Óscar Fuentes wrote: > > gafferuk <gafferuk at gmail.com> writes: > >> Im confused. The function i wish to call is
2003 Nov 19
1
fritz pci / chan_capi / australia setup
Hi * Fans, I have some fritz cards now, followed instructions from stuart hirsts email of Jun 28: -> Thanks for your info but I think I have it working at last. Below are the steps I took which might help others. 1) Download the PCI AVM drivers from ftp://ftp.avm.de/cardware 2) Download the Chan_capi from http://www.junghanns.net/asterisk/ 3) tar -xvzf fcpci-suse8.0-03.09.10.tar.gz which