search for: compilerdriv

Displaying 20 results from an estimated 28 matches for "compilerdriv".

Did you mean: compilerdriver
2009 Dec 08
0
[LLVMdev] More questions on CompilerDriver.
Hi Sanjiv, On Tue, Dec 8, 2009 at 4:41 AM, Sanjiv Gupta <sanjiv.gupta at microchip.com> wrote: > Mikhail Glushenkov wrote: >> >> > 2. Is there anyway to call a C++ hook from inside actions? >> > for example >> > (actions (case >> >         (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" ))) >> >> Not yet, this is
2009 Dec 08
2
[LLVMdev] More questions on CompilerDriver.
Mikhail Glushenkov wrote: > > > 2. Is there anyway to call a C++ hook from inside actions? > > for example > > (actions (case > > (not_empty "Wl,"), (append_cmd "$CALL(Myhook)" ))) > > Not yet, this is something I'm working on right now. > Hi Mikhail, Did you get a chance to do something about this? > > > BTW, I've
2009 Nov 19
0
[LLVMdev] More questions on CompilerDriver.
Hi Sanjiv, On Thu, Nov 19, 2009 at 5:07 AM, Sanjiv Gupta <sanjiv.gupta at microchip.com> wrote: > Hi Mikhail, > > I was trying to figure out how to do the following in compiler driver. > > 1.  mcc16 driver has a -p <device_name> option. Now from this device_name I > want to be able to construct a file name like "device_name.o" and pass that > to the
2009 Nov 19
3
[LLVMdev] More questions on CompilerDriver.
Hi Mikhail, I was trying to figure out how to do the following in compiler driver. 1. mcc16 driver has a -p <device_name> option. Now from this device_name I want to be able to construct a file name like "device_name.o" and pass that to the linker. Unpack_values "p" gives me the device_name, but I do not know how to add ".o" suffix to it. something like:
2004 Aug 30
1
[LLVMdev] llvmc - Compiler Driver - Status Update & Issues
...at without any -L option to llvmc or any mention of "stkr_runtime.bc", llvmc was able to find and link the Stacker runtime library. llvmc is now also *mostly* compatible with GCC's compiler driver. For example, here's an attempt to use llvmc as the CXX variable when building the CompilerDriver.cpp file (part of llvmc): bash-2.05b$ pwd /proj/work/llvm/build/tools/llvmc bash-2.05b$ gmake VERB= CXX=llvmc Compiling CompilerDriver.cpp /proj/work/llvm/build/mklib --tag=disable-shared --silent --tag=CXX \ --mode=compile llvmc -c -I/proj/work/llvm/build/tools/llvmc \ -I/proj/work/llvm/bui...
2005 Apr 10
1
[LLVMdev] sys::Program::ExecuteAndWait() caller problems
...th the ToolRunner.cpp file which I fixed quite a while ago. The problem was introduced due to some refactoring reid did with the program api's. Thanks for pointing this out! > Please revisit all callers of ExecuteAndWait(). The only one I'm not sure of is the llvmc usage of it in CompilerDriver.cpp. Reid, when you get a chance, can you verify that it is ok? -Chris -- http://nondot.org/sabre/ http://llvm.cs.uiuc.edu/
2008 Dec 09
7
[LLVMdev] Using ReST for documentation
...'t add too much overhead (generated HTML is already used for man pages, for example). Since it is better to use a single format for documentation, the rest of the docs should probably be also converted in the long term. [1] http://docutils.sourceforge.net/rst.html [2] http://llvm.org/docs/CompilerDriver.html (Note: this document is out of date; I've updated the style sheet since then.)
2010 Aug 31
2
[LLVMdev] Checking llvm-config status code
Ah, so LLVM already requires GNU make. Fine, than I'll submit the patch in the evening. - Yuri Gribov
2010 Sep 01
0
[LLVMdev] Checking llvm-config status code
Ok guys, Here is the patch (I also had to update lib/CompilerDriver/Makefile because it tries to run llvm-config without building it!). I checked that build works and errors in llvm-config are properly detected. Could someone verify and commit it? I do not have write access to svn (how can I get one BTW?). -Yuri Gribov -------------- next part -------------- A...
2010 Feb 25
2
[LLVMdev] Programmatic compilation of C++ file into bitcode
...Except that instead of writing the bitcode to a file, it needs to load it into memory (presumably as an instance of Module) for further processing and analysis. So my goal is to do essentially what llvmc does, but programmatically by invoking the LLVM API directly. I thought I could use lib/CompilerDriver/Main.cpp as a guide, but after studying the code and associated docs, I'm stumped. Much of the logic is woven through TableGen'd drivers, so I can't even figure out how the command line options are fed into the LLVM API. Any suggestions? Thanks, Trevor
2010 Oct 01
2
[LLVMdev] CMake "sudo make install" & headers
...lvm/CodeGen/SlotIndexes.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ValueTypes.h -- Installing: /usr/local/llvm-2.8/include/llvm/CodeGen/ValueTypes.td -- Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver -- Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/Action.h -- Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/AutoGenerated.h -- Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/BuiltinOptions.h -- Installing: /usr/local/llvm-2.8/include/llvm/CompilerDriver/Com...
2010 Oct 01
0
[LLVMdev] CMake "sudo make install" & headers
On Thu, Sep 30, 2010 at 3:08 PM, Samuel Williams <space.ship.traveller at gmail.com> wrote: > Hi, > > I might just be doing something stupid, but when I do > > $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. > $ sudo make install > > I don't get the expected headers in >        /usr/local/llvm-2.8/include/llvm > > It is
2008 Dec 09
0
[LLVMdev] Using ReST for documentation
...is > already used for man pages, for example). > > Since it is better to use a single format for documentation, the rest > of the docs should probably be also converted in the long term. > > > > [1] http://docutils.sourceforge.net/rst.html > > [2] http://llvm.org/docs/CompilerDriver.html > (Note: this document is out of date; I've updated the style sheet since > then.) > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/list...
2008 Dec 09
0
[LLVMdev] Using ReST for documentation
...is > already used for man pages, for example). > > Since it is better to use a single format for documentation, the rest > of the docs should probably be also converted in the long term. > > > > [1] http://docutils.sourceforge.net/rst.html > > [2] http://llvm.org/docs/CompilerDriver.html > (Note: this document is out of date; I've updated the style sheet > since > then.) > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailm...
2010 Sep 30
6
[LLVMdev] CMake "sudo make install" & headers
Hi, I might just be doing something stupid, but when I do $ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/llvm-2.8 -DCMAKE_BUILD_TYPE=Release .. $ sudo make install I don't get the expected headers in /usr/local/llvm-2.8/include/llvm It is simply an empty directory. What am I doing wrong? This is on Mac OS X, CMake 2.8+ Kind regards, Samuel
2009 Jun 28
1
[LLVMdev] llvmc for PIC16
Mikhail Glushenkov wrote: > Hi Sanjiv, > > 2009/6/23 <Sanjiv.Gupta at microchip.com> > >>> BTW, Chris's Makefile changes broke llvmc yesterday (r75379). I'm >>> working on a fix. >>> >> Hi Mikhail, >> Did you get a chance to fix this. I still get errors while building examples. >> >> > > This issue
2009 Jun 30
2
[LLVMdev] llvmc for PIC16
Mikhail Glushenkov wrote: > Hi Sanjiv, > > 2009/6/29 Sanjiv Gupta <sanjiv.gupta at microchip.com>: > >> I want to retrieve the value of argv[0] (which was passed to main function >> of the driver) in PrependCustomizedPath. >> > > I've added a way to access argv[0] in hooks: > http://thread.gmane.org/gmane.comp.compilers.llvm.cvs/50789 >
2009 Jun 30
0
[LLVMdev] llvmc for PIC16
Hi Sanjiv, 2009/6/30 Sanjiv Gupta <sanjiv.gupta at microchip.com>: > One more thing: > How to make --save-temps always on, so that users won't have to specify it > every time they invoke the driver? Either always run the driver via an alias, or edit lib/CompilerDriver/BuiltinOptions.cpp: cl::opt<SaveTempsEnum::Values> SaveTemps ("save-temps", cl::desc("Keep temporary files"), cl::init(SaveTempsEnum::Unset), // <- Change Unset to Cwd -- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against propriet...
2010 Feb 25
0
[LLVMdev] Programmatic compilation of C++ file into bitcode
...is to do essentially what llvmc > does, but programmatically by invoking the LLVM API directly. You can add your static analysis to llvm-gcc as an LLVM pass. If you write it as an LLVM pass then you can also use it from "opt", which would be convenient. > I thought I could use lib/CompilerDriver/Main.cpp as a guide, but > after studying the code and associated docs, I'm stumped. Much of the > logic is woven through TableGen'd drivers, so I can't even figure out > how the command line options are fed into the LLVM API. > > Any suggestions? Thanks, I don't t...
2011 Apr 22
3
[LLVMdev] LLVMC plugin setup changed?
Hi, I am trying to build my own llvmc plugin, but somehow, the llvm makefiles do not pick up the plugin in the llvmc/plugins directory anymore in a recent (r129445) svn checkout. According to the tutorial (http://llvm.org/docs/CompilerDriverTutorial.html): $ cd tools/llvmc $ cp -r example/Simple plugins/Simple $ make LLVMC_BASED_DRIVER_NAME=mygcc LLVMC_BUILTIN_PLUGINS=Simple does not build the Simple plugin but only files in the src directory. I guess this commit changed the code but do not really understand what the new appro...