Displaying 20 results from an estimated 9000 matches similar to: "[LLVMdev] LLVM CommandLine Library modifications"
2012 Apr 13
0
[LLVMdev] Make error of latest devel version of llvm and clang
Hi Jiao,
Well, I didn't try to compile with RTTI, but I had some time ago a very
similar problem while linking the opt. In my case, I was not being able to
create the shared library when enable-shared were passed through the
configure script. I just had to realize that my default compiler was not
being able to generate the binaries, probably because of its version (it
was the stable llvm-gcc
2012 Apr 13
2
[LLVMdev] Make error of latest devel version of llvm and clang
Hi
I am trying to use latest version of llvm and clang, and I have gotten them
by svn.
./configure --enable-shared has run successfully, but make REQUIRES_RTTI=1
returns error:
make[2]: Entering directory
`/home/ryjiao/Downloads/llvm-dev/llvm/tools/llvm-config'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/ryjiao/Downloads/llvm-dev/llvm/tools/llvm-config'
2013 May 12
0
[LLVMdev] CommandLine: using cl::Positional with enum
On 10 May 2013 09:44, Pedro Delgado Perez
<pedro.delgadoperez at mail.uca.es> wrote:
> Hi Daniel,
>
> I would like to go deeper with CommandLine and I was asking if you could
> help me again.
>
> Look, following the same example you put in the last message:
>
> ./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 )
>
> What I
2013 May 08
0
[LLVMdev] CommandLine: using cl::Positional with enum
Hi Daniel,
Just in the moment you replied my message, I was rewriting it as I hadn't noticed it hadn't a correct format. Sorry for that and thanks for answering it anyway.
> ./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 )
>
Yes, that is exactly what I need. It's a pity commandLine doesn't implement that possibility. So I will do what
2013 May 14
0
[LLVMdev] CommandLine: using cl::Positional with enum
Hi Daniel,
Thanks for your answer.
> I am considering fixing the bug in the LLVM CommandLine library but is
> going to be a long time before I can look at it. So don't wait for me
> to do that.
>
Ok, ok, but, if you end up fixing this, please keep me post.
> If you are really desperate to have the command line options in the
> way you want they you may need to implement
2013 May 10
0
[LLVMdev] CommandLine: using cl::Positional with enum
Hi Daniel,
I would like to go deeper with CommandLine and I was asking if you could help me again.
Look, following the same example you put in the last message:
./prog <option1> | ( <option2> --arg1 --arg2) | ( <option3> --arg1 )
What I really really want is the same except I don't want the "--" prefix is present in any of the arguments.
./prog <option1>
2013 May 08
0
[LLVMdev] CommandLine: using cl::Positional with enum
Hi,
I've been trying to code through CommandLine the options I want my tool accepts, but I find find quite impossible to achieve robustly what I need.
Look, I want the tool accepts a list of arguments in a particular order. For this goal, I know the cl::Positional flag. But, the problem is that the first argument must be one of a set of options. In my case, only the three next commands are
2013 May 07
1
[LLVMdev] CommandLine: using cl::Positional with enum
Hi,I've been trying to code through CommandLine the options I want my tool accepts, but I find quite impossible to achieve robustly what I need .Look, I want the tool accepts a list of arguments in a particular order. For this goal, I know the cl::Positional flag. But, the problem is that the first argument must be one of a set of options (like a kind of subcommand of the tool). In my case,
2018 Jul 10
2
custom LLVM Pass with options fails to load
Hi,
I'm working on an LLVM Pass plugin and I'm running into a problem when
loading it into opt.
I want to have a custom option for my pass and added an llvm::cl::opt
#include'ing "llvm/Support/CommandLine.h"
linking the dependant libs causes the following error when loading it
with opt:
opt: CommandLine Error: Option 'debug-pass' registered more than once!
I
2004 Jul 03
1
[LLVMdev] CommandLine.cpp:189: error: `strdup' undeclared
Hi Guys
I'm trying to port and build LLVM to the Interix environment. I've succeded
until the Interix version of gcc program executes:
Before the patch:
gmake[1]: Entering directory `/usr/local/src/llvm/lib/Support'
gmake[1]: Leaving directory `/usr/local/src/llvm/lib/Support'
gmake[1]: Entering directory `/usr/local/src/llvm/lib/Support'
Compiling CommandLine.cpp
2012 Aug 14
1
[LLVMdev] LLVM CommandLine 2.0 Library Usage
Hello Chris,
We're using LLVM CommandLine 2.0 Library in the clang-check tool. Overall
it works fine for us, but there are a couple of problems related to the
library design and current usage patterns.
First, there's a
feature<http://llvm.org/docs/CommandLine.html#exploiting-external-storage>
:
*"Several of the LLVM libraries define static cl::opt instances that will
2013 Apr 11
0
[LLVMdev] Modifying the support CommandLine Library to support option categories and iteration over registered options
Hi Tobias,
The work is complete. I did it and my patch was ignored probably due
to my use of Macros. I then recently re did the work without using
macros and submitted a patch a few days ago.
So far this has been ignored as well :( . If you have commit access
I'd love for you to review the patches and then commit them so my work
will be available in LLVM 3.3 (when it's released) so that
2004 Jul 02
1
[LLVMdev] CommandLine.cpp:189: error: `strdup' undeclared
Hi Guys
I'm trying to port and build LLVM to the Interix environment. I've succeded
until the Interix version of gcc program executes:
gmake[1]: Entering directory `/usr/local/src/llvm/lib/Support'
gmake[1]: Leaving directory `/usr/local/src/llvm/lib/Support'
gmake[1]: Entering directory `/usr/local/src/llvm/lib/Support'
Compiling CommandLine.cpp
CommandLine.cpp: In function
2018 Jul 12
2
custom LLVM Pass with options fails to load
Hi Philip,
thanks for the quick answer.
That makes sense, but when leaving the set LLVM_LINK_COMPONENTS out
I get an undefined symbol when loading the plugin:
_ZTVN4llvm2cl3optINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEELb0ENS0_6parserIS7_EEEE
which boils down to
llvm::cl::opt<std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char>>,
2004 Aug 24
0
[LLVMdev] Support/CommandLine.h exposed through Pass.h?
On Tue, 24 Aug 2004, Reid Spencer wrote:
> In writing llvmc, I need to link in the Bytecode reader in order to
> extract the "dependent libraries" from the bytecode files. And, bytecode
> reader needs vmcore. And, vmcore has a static cl::opt<bool> named
> "EnableTiming" for the -time-passes option. This conflicts at runtime
> with llvmc's -time-passes
2015 Apr 21
1
Re: <qemu:commandline> domain XML tag is not working?
Hi Eric,
Thanks!
You are right, I missed declaring namespace, now, the <qemu:commandline> is
saved after virsh edit.
However, both namespace and <qemu:commandline> tag are lost after I run
"nova start" to launch the VM.
Any idea that how could I make this qemu command take effect ?
Regards,
CY.
On Mon, Apr 20, 2015 at 11:41 PM, Eric Blake <eblake@redhat.com> wrote:
2015 Apr 20
0
Re: <qemu:commandline> domain XML tag is not working?
On 04/20/2015 08:37 AM, Chengyuan Li wrote:
> Hi,
>
> I tried to enable virtio-blk data plane feature for VMs in my openstack
> environment, the hypervisor is ubuntu 14.04, libvirt 1.2.2 and QEMU 2.0.
> As nova doesn't support that parameter yet, I did belows
>
> 1. nova boot a VM with raw disk image.
> 2. nova stop the VM.
> 3. run "virsh edit
2015 Apr 20
0
Re: <qemu:commandline> domain XML tag is not working?
On Mon, Apr 20, 2015 at 10:37:13PM +0800, Chengyuan Li wrote:
> Hi,
>
> I tried to enable virtio-blk data plane feature for VMs in my openstack
> environment, the hypervisor is ubuntu 14.04, libvirt 1.2.2
[I haven't tested the virtio-blk data plane myself.]
This libvirt version seems a little old (from March 2014), you might
want to move to a bit newer.
> and QEMU 2.0.
2009 Feb 07
0
[LLVMdev] 2.5 Pre-release1 available for testing
I'm trying to build the 2.5 prerelease on my MacBook, and I'm getting
a bus error in tblgen:
$ rm -r * && ../src/configure --prefix=`pwd`/../install && make -j1
VERBOSE=1 ENABLE_OPTIMIZED=0
...
llvm[1]: Building Intrinsics.gen.tmp from Intrinsics.td
/Users/jyasskin/src/llvm-2.5/obj/Debug/bin/tblgen -I
/Users/jyasskin/src/llvm-2.5/src/lib/VMCore -I
2008 Oct 15
1
Can R scripts executed in batch mode take a commandline argument?
I have examined the documentation for batch mode use of R:
R CMD BATCH [options] infile [outfile]
The documentation for this seems rather spartan.
Running "R CMD BATCH --help" gives me info on only two options: one for
getting help and the other to get the version. I see, further on, that
there are options for retoring and saving sessions (which I do not need to
do in this case),