Displaying 20 results from an estimated 5000 matches similar to: "ORC API C Standard/System Libraries"
2020 Apr 13
4
LLVM 10 ORC2 issue with symbol resolution
Hi,
I updated my project to LLVM 10.0 today and I am getting JIT symbol
resolution errors.
I could not find any example or updated tutorial or documentation that
describes the new api - as all documentation seems out of date.
I paste below some code snippets that show what I am doing:
/* global syms is a array mapping names to function addresses */
2020 Apr 13
2
LLVM 10 ORC2 issue with symbol resolution
Hi Lang,
On Mon, 13 Apr 2020 at 19:12, Lang Hames <lhames at gmail.com> wrote:
>
>> I updated my project to LLVM 10.0 today and I am getting JIT symbol resolution errors.
>> I could not find any example or updated tutorial or documentation that describes the new api - as all documentation seems out of date.
>
>
> The doxygen comments should be up-to-date, as should
2020 Apr 20
2
ORC JIT Weekly #12
Hi All,
There was only one interesting ORC-specific commit this week: A new example
showing how to initialize and de-initialize JITDylibs has been added in
llvm/examples/OrcV2Examples/LLJITWithInitializers.
The Extensible RTTI system (https://reviews.llvm.org/D39111) that I posted
a while back has landed. While this is not ORC specific, I expect it to be
used in upcoming patches to allow ORC
2020 Sep 24
2
ORC JIT - Can modules independently managed with one LLJIT instance? + problems with ExecutionSession.lookup
Hey Lang,
I would be really happy to only have one LLJIT instance and using multiple JITDylibs. However… it seems like that I don’t know enough to use them. So I wonder…
1. When I add Module A to JITDylib A and Module B to JITDylib B – where will those look for undefined symbols? Will Module A for example: will it only search itself and the MainDylib? Or would it also search in JITDylib B?
2020 May 05
2
C++ JIT Compiler with LLVM on Windows 10 - part 5
Hi Emmanuel,
Thank you very much for these! I will check them out today and see what's
going on.
Regards,
Lang.
On Mon, Apr 27, 2020 at 8:35 PM Emmanuel Roche <roche.emmanuel at gmail.com>
wrote:
> Hi Lang,
>
> Thank you for your feedback on the blog post, please find below some
> additional inputs from my side on the comments you provided:
>
> > Regarding
2020 May 06
2
C++ JIT Compiler with LLVM on Windows 10 - part 5
Hello Lang,
Good work! That was very quick ;-)
> I will file a bug tomorrow to add COMDAT support to ORC. I won't have
time to work on this feature any time soon, but I will try to provide a
sketch of the solution in the bug report in case you or anyone else is
interested in taking up the challenge. :)
=> I suspect this could be an issue that could get in my way more
significantly
2019 Jun 27
2
Questions about moving from MCJIT to Orc JIT
Nice!
Let me try to answer some questions,
Before that I have to mention this is ORC version 2 APIs and this is where
the project is moving forward.
JITDylib is the symbol table, basically for a JIT Symbol it have an
associated materializers, (you can think of it like an entity that generate
the address for that symbol),
Example: compiler are materializers.
So to add symbols to your own JIT you
2020 Aug 23
3
Apropos "shouting": PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT
Who's "shouting" here? Even in complete lines, 9 consecutive words!
PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang: note: diagnostic msg: C:\Windows\Temp\crash-74a40f.c
clang: note: diagnostic msg: C:\Windows\Temp\crash-74a40f.sh
clang: note: diagnostic msg:
********************
--- crash-74a40f.c ---
2012 Jan 04
1
[LLVMdev] How can I compile a c source file to use SSE2 Data Movement Instructions?
I write a small function and test it under clang and gcc,
filet test.c:
double X[100]; double Y[100]; double DA = 0.3;
int f()
{
int i;
for (i = 0; i < 100; i++)
Y[i] = Y[i] - DA * X[i];
return 0;
}
clang -S -O3 -o test.s test.c -march=native -ccc-echo
result:
"D:/work/trunk/bin/Release/clang.exe" -cc1 -triple i686-pc-win32 -S
-disable-fr
e -disable-llvm-verifier
2017 Aug 06
2
Compile issues with LLVM ORC JIT
I tree to compile the LLVM ORC JIT examples. But I'm stuck in some
problems I can't solve my own.
First at all I compile with C++14 enabled with latest stable LLVM and
clang, this means 4.0.1. I get the following error. Do I missed some
specific compile option?
Compilation looks like this here.
|CompilingcontribJIT.cpp
PWD:/home/ikuehl/projects-llvm/TurboLisp/domainEngineer
2020 Aug 23
2
Apropos "shouting": PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT
"David Blaikie" <dblaikie at gmail.com> wrote:
> Context is everything.
I'm willing to accept your humble apologies.
> Spotting the relevant details in long build output
> can be tricky & some emphasis (caps, the *** borders, etc) can be useful.
So you dare to "shout" at your users/customers, but mock when someone (me)
uses the same sort of emphasis,
2020 Aug 23
2
Apropos "shouting": PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT
Hi Stefan,
You can find the contribution guidelines here :
https://llvm.org/docs/Contributing.html
LLVM also have code of conduct : https://llvm.org/docs/CodeOfConduct.html
On Sun, 23 Aug 2020 at 23:28, David Blaikie via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
>
>
> On Sun, Aug 23, 2020 at 10:54 AM Stefan Kanthak <stefan.kanthak at nexgo.de>
> wrote:
>
>>
2019 Jun 27
2
Questions about moving from MCJIT to Orc JIT
Hi Bjoern,
CC'ing Lang hames
For questions,
1. In short yes, you can replace the memory manager, default one provided
is section memory manager.
2. If you mean by " address of already compiled code", yes you can do that.
Like this
JITDylib.define(absoluteSymbols, ( Your_own_symbol ,
JITTargetAddress(Address of function))), now ORC can resolve all the
references to Your_own_symbol
2019 May 13
3
Orc JIT v1 Deprecation
Hi folks,
Rather by accident than on purpose I looked at the release notes and found the following:
http://releases.llvm.org/8.0.0/docs/ReleaseNotes.html#changes-to-the-jit-apis
TL;DR: Orc v1 is deprecated and will be removed in the next release.
I have several questions in this regard:
1. Is there a migration guide I can use to update my code to the new version?
2. Is there any development
2020 May 23
4
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
Hello,
I am trying to run this basic C++ hello-world code in my iOS app that has
LLVM libraries linked in (the app runs on the actual device - iPad Pro, iOS
13.4.1).
#include <iostream>
int main (int argh, char *argv[]) {
std::cout << "Hello World!" << std::endl;
return 0;
}
So below is the break down of the steps that I do:
First I compile this code to an
2020 Apr 27
2
C++ JIT Compiler with LLVM on Windows 10 - part 5
I was just reading the blog post -- very cool!
Regarding Globals construction & destruction: There definitely has been a
lot of churn in that area. There will probably be more before LLVM 11 is
released, but I can see light at the end of the tunnel. I think the Right
Way to run initializers in a JITDylib is to treat it as equivalent to a
dlopen operation (with extra allowances for the fact
2019 Sep 19
2
Errata: The JIT tutorial
For example, the illustrate part says "ES.getMainJITDylib().setGenerator"
while the full code list says "ES.getMainJITDylib().addGenerator", I guess
the API is changed, the tutorial part is up to date while the full code
list leaves to the old version.
On Thu, Sep 19, 2019 at 10:51 AM Yafei Liu <yfliu at mobvoi.com> wrote:
> Yes, the function type mismatch, just copy
2020 Jun 06
4
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
Hi Lang,
Please see below is the trace.
--
Thanks,
Igor
*2020-06-06 12:05:21.016705-0400 CppDevProCompiler[6613:3000073] Running...*
*jitLink_MachO: magic = 0xfeedfacf, identifier =
"llvm-link.submodule-jitted-objectbuffer"*
*jitLink_MachO: cputype = 0x0100000c, cpusubtype = 0x00000000*
*Creating normalized sections...*
* __text: 0x0000000000000000 -- 0x0000000000000064, align:
2020 Jun 20
1
Assertion triggered when running simple hello-world code on iOS device using ORC/LLLazyJIT
Hi Dave,
Yep. This is JITLink specific, so we could only have observed it on MachO
x86-64 or arm64 until recently. It takes a little bit of poking to get IR
to produce a zero-lengh section on MachO, but not much.
Jared Wyles recently contributed an initial JITLink ELF implementation, so
the fix seems timely -- we might have been about to see more of it.
-- Lang.
On Fri, Jun 19, 2020 at 4:02 PM
2011 Mar 17
2
ldap idmap backend
Hi all,
i use Samba 3.5.6 in ads mode (Windows 2008R2) with ldap idmap backend. Servers run Centos 4 and 5.
I can't cope with next issue for long time.
On all servers in domain winbind constantly tries to create mapping for
<SID>-513
and fails because of already existing entry.
It just wastes gid range.
Note that <SID> is not SID of main domain but another which name equal to