Displaying 20 results from an estimated 300 matches similar to: "[LLVMdev] llvm-config example need update"
2006 Mar 22
2
[LLVMdev] Virtual "components" for llvm-config
To ease portability headaches, I'd like to support several virtual
"components" in llvm-config. Possibilities include:
all: Include all LLVM libraries.
backend: Include either a working native backend or cbackend.
engine: Include a working subclass of ExecutionEngine, either the
JIT or interpreter.
You could, for example, get a typical set of JIT-related libs using:
2006 Mar 23
2
[LLVMdev] Virtual "components" for llvm-config
On Mar 22, 2006, at 11:22 PM, Reid Spencer wrote:
> In looking at tools, we should also look at the example programs
> and the
> projects such as Stacker. For example, it would be nice to have a
> virtual component that includes the libraries necessary for an LLVM
> front end translator (source -> llvm bytecode). It would also be nice
> to have a virtual component that
2006 Mar 23
0
[LLVMdev] Virtual "components" for llvm-config
The only thing that comes to me off the top of my head is to look at the
various LLVM tools and applications and see if there are common sets of
libraries used by the tools. Ideally we'd want to "llvm-config --libs
{toolname}" for each tool where {toolname} is replaced by the virtual
component corresponding to the tool. That might be overkill, but if
there are multiple tools that
2006 Nov 04
1
[LLVMdev] llvm partly ported to windows
Hello (again)!
I fixed most of the system and the following projects compile now:
* Analysis
* AsmParser
* Bytecode
* CBeckend
* Codegen
* ExecutionEngine
* Support
* System
* TableGen
* Target
* Transforms
* VMCore
I would like to compile at least x86 target as well as Fibonacci example
(to test if it really works). In order to do so, I may need some hints:
1) How to generate
2004 Aug 10
0
[LLVMdev] API on JIT, code snippets
Reid Spencer,
thank you for your quick responce, finally i got to my PC at home.
You wrote:
> Attached are three files: "valery.cpp" which contains your original,
> "reid.cpp" which contains corrections to most of the FIXME items and
> "diffs" which shows the differences between them. The differences
> should be instructive on what to do. You were
2007 Dec 26
2
[LLVMdev] Instantiating modules from .bc files
Hey there,
I'm relatively new to the llvm scene, and so far I'm liking it quite
a bit. I'm a bit perplexed as to what llvm-gcc's role is in
everything. I've used it to create .bc files for really simple
functions and it seems to do quite well at that, but I've been trying
to figure out how to take the output from llvm-gcc and actually use
it in another program.
2009 Jun 07
3
[LLVMdev] reading untrusted bitcode
Suppose I had a program that would receive bitcode and do something with
it other than run it, and for performance I this program is built
Release-Asserts.
Currently, illegal types are caught by the AsmParser and again by some
assertions in Type.cpp. However, a .bc file could contain an illegal
type like [5 x void] and without assertions enabled, this actually gets
created in the IR. Also,
2007 Dec 27
1
[LLVMdev] Instantiating modules from .bc files
That worked quite well. Thank you. One question as a follow up: is
there a nice/standard way of including the pre-made bitcode chunks in
with the binaries that are being created which read them?
Bascially, I'd like to have the same functionality, but rather than
having one or more .bc files running around which need to be read at
runtime by an executable, moving that into the code
2004 Aug 09
5
[LLVMdev] API on JIT, code snippets
Valery,
Attached are three files: "valery.cpp" which contains your original, "reid.cpp"
which contains corrections to most of the FIXME items and "diffs" which shows
the differences between them. The differences should be instructive on what to
do. You were really, really close .. just a few details changing. The code in
"reid.cpp" compiles but I
2009 Jun 07
0
[LLVMdev] reading untrusted bitcode
On Sat, Jun 6, 2009 at 6:32 PM, Nick Lewycky<nicholas at mxc.ca> wrote:
> Whose responsibility is it supposed to be to check types for legality?
> The BCReader? Or perhaps the verifier?
It's pretty easy to resolve using the rule "assertions should never
trigger": if the bitcode reader triggers an assertion, it's a bug in
the bitcode reader.
-Eli
2007 Dec 26
0
[LLVMdev] Instantiating modules from .bc files
Hi Danny,
On 2007-12-26, at 15:39, Danny wrote:
> I've noticed that the BitcodeReader appears to be an internal
> module, but the BitstreamReader is public. Should I be using the
> BitstreamReader? If so how.
The generic BitstreamReader class is public because it's used in other
projects, including clang, to serialize data structures other than
LLVM IR. The coding of
2008 Apr 15
2
[LLVMdev] Bugs in Kaleidoscope tutorial code, and a bus error
I'm working through the Kaleidoscope tutorial through section 2.4, and
I've encountered some problems: several minor bugs, and finally a bus
error that has me stumped:
-------
In the code listed in LLVM Tutorial section 2.2 Implementing a Parser and AST.
Line 19 has a comma at the end of line that shouldn't be there
Line 120 is missing a closing angle bracket.
Line 120 should be
2004 Jan 08
2
[LLVMdev] bytecode documentation?
Is there any documentation of the llvm bytecode format? I looked
around the website but didn't see any; did I miss some obvious
document?
Thanks a bunch.
--Grant
2018 Mar 02
2
EngineBuilder().create() => NULL
Hi,
I try to create an execution engine, but I always got a nullptr value :
_executionEngine = EngineBuilder(std::move(_module)).create();
I build my project with cmake and add the following command in my cmake.
llvm_map_components_to_libnames(llvm_libs Analysis Core
ExecutionEngine InstCombine Object RuntimeDyld ScalarOpts Support native
mcjit)
BTW, I have also try to execute the
2008 Nov 14
1
[LLVMdev] vmkit, jvm, newbie bytecode translation + jit question
Greetings,
I am searching for an alternative to sun's java implementation - one
that is not under gpl..
I've been reading the vmkit code for JNI.. And I notice that it is
not completely filled out yet... That's fine though, I see there is
filled in function like most of the non implemented functions..
Couple of questions:
Is the entire llvm required for java/cli vmkit to run?
2016 Feb 12
3
llvm-config error for aarch64
The bot failure can be reproduced with:
./bin/llvm-config "--ldflags" "--libs" "--system-libs" all-targets analysis asmparser asmprinter bitreader bitwriter codegen core debuginfodwarf executionengine instrumentation interpreter ipo irreader linker mc mcjit objcarcopts option profiledata scalaropts support target
Looking...
--
Mehdi
> On Feb 12, 2016, at
2010 Mar 09
2
[LLVMdev] Changed: Build errors for poolalloc using MinGW/gcc 4.4.0
The patch below adds dsa and some of poolalloc to opt. It should be
simple enough to extend to all of poolalloc by adding more classes to
LinkDSA.h.
Andrew
Index: tools/opt/opt.cpp
===================================================================
--- tools/opt/opt.cpp (revision 97995)
+++ tools/opt/opt.cpp (working copy)
@@ -38,6 +38,12 @@
#include "llvm/LinkAllVMCore.h"
2006 Aug 03
0
[LLVMdev] Building llvm under cygwin
Hello Anton
Thu, 3 Aug 2006 12:38:54 +0400 you wrote:
> I've updated it yesterday and rebuilt - llvm built fine. But when
> building llvm-gcc4 (also updated yesterday from new /trunk
> directory) it fails with the same error.
You might easily get llvm-gcc4-mingw32 binaries from "prerelease"
directory. Since stdcall, fastcall & dllimport stuff is unsupported
right now,
2004 Jan 08
0
[LLVMdev] bytecode documentation?
On Thu, 8 Jan 2004, Grant Gould wrote:
Dear Mr. Gould,
> Is there any documentation of the llvm bytecode format? I looked
> around the website but didn't see any; did I miss some obvious
> document?
At this time, we do not have any documentation on the bytcode format. I
believe one LLVM user was working on such a document at one time, but if so,
it is not complete.
One option
2005 Aug 10
1
[LLVMdev] ValueTy not set appropriately in Value.h?
Hi, for some temporary debugging I wanted to know what sort of Value I
was seeing, and I ran across this comment in Value.h - it's probably a
minor point, but unless I'm missing something I think either the last
line of the comment is wrong or the code is.
It appears in rev 1.58, as part of fixing bug 122.
00134 /// getValueType - Return an ID for the concrete type of this
object.