Displaying 20 results from an estimated 7000 matches similar to: "AUTO: Heiko Helmle is out of the office"
2017 May 29
1
JIT - Resolve obj file without a main
Hello Lang,
so you are part of the "Jitter-Team"?
I'm really interested in this whole jitting-process. I wanted to know, is
there a way to load other obj-files, than the one created with clang?
Could I load - for example - a obj-File from VisualStudio? Or will the
namemangeling fail?
Kind regards
Björn
From: Lang Hames <lhames at gmail.com>
To: bjoern.gaier at
2019 Jan 15
2
Function - replaceAllUsesWith
What does that mean for my code and the idea?
I'm a really unexperienced LLVM user...
-----Original Message-----
From: Tim Northover <t.p.northover at gmail.com>
Sent: Dienstag, 15. Januar 2019 15:19
To: Gaier, Bjoern <Bjoern.Gaier at horiba.com>
Cc: Stefan Gränitz <stefan.graenitz at gmail.com>; Mehdi AMINI <joker.eph at gmail.com>; llvm-dev <llvm-dev at
2019 Jan 15
2
Function - replaceAllUsesWith
I could actually track down the cause of the problem:
mainModue->getFunction("puts")->replaceAllUsesWith(
llvm::ConstantExpr::getPointerCast(
llvm::ConstantInt::get(llvm::IntegerType::get(context, 64), 0xF),
mainModue->getFunction("puts")->getType()
)
);
The problem is the line where I receive the type of the function "puts", it will crash the application
2017 Oct 18
2
Clang/LLVM JIT - When to use "registerEHFrames()"
> So... there is no way to make throw and catch working in a jitted code
> under Windows?
>
I have used throw and catch in jitted code, so "no way" is too strong. But
there's a large range of possible states between "no way" and "always
enabled OOTB". Currently, this is pretty close to the "mostly
unimplemented" side of the spectrum in LLVM.
2017 May 07
2
[cfe-dev] JIT doens't resolve address - Resolve obj-Addresses?
Hi Bjoern,
CCing cfg-dev (since that's where the conversation started) and llvm-dev
(since it's relevant there).
Do you know if there is a way to obtain the fully resolved obj-code? I
> wanted to load the functions into a shared memory, but how? The only thing
> I receive is a function pointer, but I don't know how large the function
> 'behind' is. Even a call to
2020 Aug 25
2
ORC JIT - Incorrect support for COFF files?
Hey Lang,
That is really cool :D Is the creation of that table a Windows thingy or is this the way the LLVM handles it?
Also… since it is COFF related – the never ending story of “finding my global constructors” first of all: Yes! I tried using the “initialize” function of LLVMJIT – however this only worked when I was loading a Module. When I added the object file (from the same source) the
2018 Feb 22
0
[cfe-dev] Calling virtual elf functions under windows -> Adding ASM code
Hi Björn,
It's correct - I tried casting the virtual function to a regular function.
> But I also tried using the virtual function in the normal way.
>
Yes. If I understand your setup correctly you have a base class, Interface,
which is currently compiled into your application, and you are creating a
derived class in JIT'd code, and returning an Interface pointer to an
instance of
2017 May 17
2
JIT - Resolve obj file without a main
Hi Lang,
I'm using Windows. I was parsing an IR-File and added the Module to the
ExectuionEngine. If I than searched for a function, I just got 0. But when
the module had a main, I got an address. I solved the problem via a call
to "generateCodeForModule". The JIT didn't even called my SymbolResolver
in this special case.
Could you please tell me, if there is a way to
2012 Jun 14
1
Problem with buggy Dell Latitude BIOS
Hello List,
the most recent BIOS (A13) for the Dell Latitude E6520 has problems -
gpxelinux (4.05) cannot load larger initrd (or memdisk images) with this
BIOS and fails with "Not enough memory to load specified image". This
results in a few of our boot images (most importantly the Backup Rescue
image (and parted magix pxe version)) failing.
A12 BIOS works okay. So at the moment we
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 18
2
Get all symbols stored(?)in llvm::orc::ExecutionSession
Hi Bjoern,
I’m a bit worried about taking symbols from modules, because some of the
> symbols might change later when the code was compiled with the JIT
Symbol names shouldn't change from the moment they're added to the JIT
(i.e. after being fully mangled). Consistency of symbol names is a
requirement for ORC to work.
You could try hooking into the orc::Platform API for this:
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?
2018 Nov 12
2
JIT-Client for Shared Memory
Hi Bjoern,
For single object files you can override the needsToReserveAllocationSpace
method that is inherited from llvm::RuntimeDyld::MemoryManager (make it
return true) and then implement the reserveAllocationSpace method to
allocate memory for all sections up front.
There is no easy way to do this for multiple object files. I think you
would have to mimic the memory size calculations
2019 Jan 15
2
Function - replaceAllUsesWith
Hey Tim,
Sadly I have currently only a release build of LLVM7 with no assertions turned on... So I just know that the line of code I posted is crashing.
No output, no anything....just...Crash...
Kind greetings
Björn
-----Original Message-----
From: Tim Northover <t.p.northover at gmail.com>
Sent: Dienstag, 15. Januar 2019 13:28
To: Gaier, Bjoern <Bjoern.Gaier at horiba.com>
Cc:
2019 Dec 01
2
Attempting EuroLLVM2020 as a beginner
I received this request off-list:
> I would really love seeing presentations or workshops about the JIT. Kinda like the KaldeiscopeJIT tutorials but in a guided way to ask questions and improve understanding about it. Especially for use under windows since this seems to be rather rare.
-Hal
On 11/26/19 10:49 AM, Hal Finkel wrote:
If you have suggestions for content, sending that here is
2018 Feb 20
2
Calling virtual elf functions under windows -> Adding ASM code
Still no progress with this problem. Only that non-member functions seems
to be working...
Also:
Even when I set the target triple of the Module (when the file was parsed
at runtime) to "COFF" nothing changes...
From: Bjoern Gaier/HE/HORIBA
To: llvm-dev at lists.llvm.org
Cc: cfe-dev at lists.llvm.org
Date: 08.02.2018 12:28
Subject: Re: Calling virtual elf functions
2017 Oct 16
2
Clang/LLVM JIT - When to use "registerEHFrames()"
Historically? I implemented support for exceptions back in LLVM 3.3, before
LLVM had an implementation of a Windows unwinder.
Currently? As recent as LLVM 4.0, I don't think the JIT was fully capable
of handling COFF files, and LLVM wouldn't emit the correct sections (with
the COFF-formatted unwind tables) when used in ELF mode.
The prolog is known to be standard since Julia disables FPO
2019 Nov 25
2
Attempting EuroLLVM2020 as a beginner
Hi Hal,
Who would I send those suggestions to which I would like to see - or feedback in general?
Kind greetings
Björn
From: Finkel, Hal J. <hfinkel at anl.gov>
Sent: 22 November 2019 17:10
To: Gaier, Bjoern <Bjoern.Gaier at horiba.com>; llvm-dev at lists.llvm.org
Subject: Re: [llvm-dev] Attempting EuroLLVM2020 as a beginner
Hi, Björn,
It is a specific goal of the LLVM Foundation
2018 Dec 13
2
Setting a function in a module to extern
But in my module this function already exist… I first want to delete it but without also deleting the calls to it…
From: Boldizsar.Palotas at esa.int <Boldizsar.Palotas at esa.int>
Sent: Donnerstag, 13. Dezember 2018 10:53
To: Gaier, Bjoern <Bjoern.Gaier at horiba.com>
Cc: LLVM Developers Mailing List <llvm-dev at lists.llvm.org>
Subject: Re: [llvm-dev] Setting a function in a
2020 Sep 23
2
ORC JIT - Can modules independently managed with one LLJIT instance? + problems with ExecutionSession.lookup
Hi Lang,
Thank you for your answer! This helped me again a lot!! Also that ResourceTracker is a really neat feature! Looking forward to it! :3
I changed the title cause… there is another issue I have (sorry about that…)
I’m finally allowed to investigate the ORC JIT for integration into our system, which meant I got a few days to actually play around with it. However, another problem arise