Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] llvm-ld stripping debugging symbols?"
2013 Sep 25
2
[LLVMdev] Linking static archives with MCJIT?
On Wed, Sep 25, 2013 at 17:14 +0000, you wrote:
> What API did you use in 3.2?
llvm::Linker used to have a method LinkInLibrary(). My understanding
is that there's a larger reorganisation of the linking process going
on but I haven't found a straight-forward replacement for that method
yet. I might be missing something though. Or perhaps I could even just
reuse some code from that old
2013 Sep 25
2
[LLVMdev] Linking static archives with MCJIT?
Hi all,
is there a way to link a native static library (.a) into code that
runs through MCJIT? I was able to do it with LLVM 3.2, but it seems
the API has changed and maybe was removed?
Thanks,
Robin
--
Robin Sommer * Phone +1 (510) 722-6541 * robin at icir.org
ICSI/LBNL * Fax +1 (510) 666-2956 * www.icir.org/robin
2013 Sep 25
0
[LLVMdev] Linking static archives with MCJIT?
OK, so in the old implementation you linked a module against the archive before passing it to MCJIT?
I'm not familiar with the llvm::Linker interface, so I hope someone else will jump in an address that.
I can think of a way to solve this inside MCJIT, but it is almost certainly not what you'd want.
-Andy
-----Original Message-----
From: Robin Sommer [mailto:robin at icir.org]
Sent:
2014 Jun 20
2
[LLVMdev] Fwd: Stackmaps for ELF?
I don't believe the changes have made it in yet. In addition to the
previous patch set, we've got an independent implementation we've been
using for a while:
https://github.com/AzulSystems/llvm-late-safepoint-placement
We really should get one or the other merged in tree.
Could you point me to the previous patch set so I can ping it and review?
Philip
-------- Original Message
2013 Sep 25
0
[LLVMdev] Linking static archives with MCJIT?
What API did you use in 3.2?
I've never tried this, but I think it's probably possible.
-Andy
-----Original Message-----
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Robin Sommer
Sent: Tuesday, September 24, 2013 9:37 PM
To: llvmdev at cs.uiuc.edu
Subject: [LLVMdev] Linking static archives with MCJIT?
Hi all,
is there a way to link a native
2013 Sep 25
1
[LLVMdev] Linking static archives with MCJIT?
On Wed, Sep 25, 2013 at 19:23 +0000, you wrote:
> OK, so in the old implementation you linked a module against the
> archive before passing it to MCJIT?
Yes, I used a Linker instance to link together a number of my own
modules and a static library, and then get a single new LLVM module
out of that to hand over to MCJIT.
> I can think of a way to solve this inside MCJIT, but it is
2009 Dec 06
2
[LLVMdev] Appending linkage
Hi all,
the LLVM documentation lists the 'appending' linkage for having the
linker combine two arrays. I'm wondering though if it's then
possible to get the size of the combined array, e.g., for iterating
over its elements? Or how would I otherwise use the combined array?
Thanks,
Robin
--
Robin Sommer * Phone +1 (510) 666-2886 * robin at icir.org
ICSI/LBNL * Fax +1
2010 Sep 13
0
[LLVMdev] Postdoc opening at ICSI
Sorry for the spam, but we're looking for a postdoc with compiler
expertise, and in particular LLVM, for ICSI's networking group. I
thought this list might have somebody interested in such a position:
http://www.icsi.berkeley.edu/about/netjob.html
Feel free to forward further.
Thanks,
Robin
--
Robin Sommer * Phone +1 (510) 722-6541 * robin at icsi.berkeley.edu
ICSI/LBNL *
2009 Apr 24
1
[LLVMdev] Returning structs on Linux x86
Hello all,
I've run into a problem with returning a struct on Linux x86.
Consider the following two pieces of code:
# cat a.ll
declare { i32, i32 } @foo(i32, i32, i32)
define void @do_foo() {
call { i32, i32 } @foo(i32 1, i32 2, i32 3)
ret void
}
# cat b.c
#include <stdio.h>
#include <stdint.h>
extern void
2009 Dec 10
0
[LLVMdev] Appending linkage
On Sat, Dec 05, 2009 at 22:56 -0800, I wrote:
> the LLVM documentation lists the 'appending' linkage for having the
> linker combine two arrays. I'm wondering though if it's then
> possible to get the size of the combined array, e.g., for iterating
> over its elements? Or how would I otherwise use the combined array?
Any thoughts on this? Am I missing something?
2016 Jul 30
0
llvm-link unifies identified structs?
Any suggestions? It's not a problem for me, I'm mostly curious as it
makes it harder to read the IR. Feel free to point me to other
documentation if I'm missing something. Thanks,
Robin
On Wed, Jul 27, 2016 at 08:10 -0700, I wrote:
> The language reference says: "identified [structure] types are never
> uniqued". But llvm-link seems to do just that at link-time:
>
2016 Jul 27
2
llvm-link unifies identified structs?
The language reference says: "identified [structure] types are never
uniqued". But llvm-link seems to do just that at link-time:
> cat x.ll
%A = type {}
%B = type {}
%C = type { %A*, %B* }
define void @foo(%C* %c) {
ret void
}
> llvm-link x.ll | llvm-dis
; ModuleID = '<stdin>'
source_filename = "llvm-link"
2016 Jul 26
4
'invalid subroutine type ref' when linking custom metadata
With 3.9, llvm-link tells me 'invalid subroutine type ref' when
linking the two code pieces below, and I don't quite understand why.
It looks like it merges the debug information with the custom
metadata. I've filed a ticket already [1] but as I'm not sure if this
is indeed a bug or if I'm misunderstanding something, I thought I'd
ask here.
Any ideas? Thanks,
Robin
2016 Jul 27
1
'invalid subroutine type ref' when linking custom metadata
> On 2016-Jul-26, at 02:22, Mehdi Amini <mehdi.amini at apple.com> wrote:
>
> +CC Duncan```
>
>> On Jul 25, 2016, at 8:53 PM, Robin Sommer via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>>
>>
>> With 3.9, llvm-link tells me 'invalid subroutine type ref' when
>> linking the two code pieces below, and I don't quite understand
2014 Jun 18
2
[LLVMdev] Machine level IfConversion for ARM
I need to do some analysis, in which I have to selectively convert IFs. I am
trying to find a way to call this optimization pass from the JIT code, thus
I can decide which branches to convert and which to keep. Apparently I
cannot do this using a pass manager.
--
View this message in context: http://llvm.1065342.n5.nabble.com/Machine-level-IfConversion-for-ARM-tp69513p69622.html
Sent from the
2017 Feb 08
2
Stripping Debug Locations on cross BB moves, part 2 (PR31891)
On Wed, Feb 8, 2017 at 9:36 AM Adrian Prantl <aprantl at apple.com> wrote:
>
> > On Feb 8, 2017, at 9:25 AM, David Blaikie <dblaikie at gmail.com> wrote:
> >
> > So Reid came across a case where the current strategy (dropping
> locations when they move across basic blocks) proves to be at odds with
> another precept we have: inlinable calls must have
2003 Aug 09
0
USB problems (I/O-Error => USB da(4) quirks, uscanner0)
Hi,
I have some problems with usb da and uscanner giving me I/O-errors.
This is on a ASRock K7VT2 board.
If there is anything else I could do (testing patches, providing further info),
please let me know.
4.8-STABLE from 04.08.2003:
- MBO USB-MultiCardReader 6-in-1 mount_msdos => Input/output error
- Epson Perfection 1260 Scanner scanimage --test => Error during device I/O
2010 Apr 18
2
[LLVMdev] Debugging using gdb
Hi,
I am trying to debug my llvm pass called -aa-eval-garg11 using gdb. However
I am not able to establish a breakpoint in any function of my pass. I have
compiled my
pass with a debug build and I have also compiled the input file (using
llvm-gcc) with the -g flag. Given below is the exact output.
(gdb) break llvm::PassManager::run
Breakpoint 1 at 0x86be87c: file
2010 Apr 19
0
[LLVMdev] Debugging using gdb
Pranav Garg wrote:
> Hi,
>
> I am trying to debug my llvm pass called -aa-eval-garg11 using gdb.
> However I am not able to establish a breakpoint in any function of my
> pass. I have compiled my
> pass with a debug build and I have also compiled the input file (using
> llvm-gcc) with the -g flag. Given below is the exact output.
>
>
> (gdb) break
2004 Oct 16
1
Debugging advice
Hi folks,
I am trying to debug a scientific / engineering application called SRIM
(www.srim.org, particularly the batch-mode version of SRIM 2003 called
"SRModule"). This is my first experience with a debugger like winedbg, so
I am still learning how best to use it.
My question for now is: given a known breakpoint, and a value to watch (in
this case $ecx), is there an easy way to find