similar to: [LLVMdev] Appending linkage

Displaying 20 results from an estimated 2000 matches similar to: "[LLVMdev] Appending linkage"

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
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"
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?
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
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?
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:
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
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
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
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
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: >
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 *
2010 Nov 01
1
[LLVMdev] llvm-ld stripping debugging symbols?
It seems that llvm-ld is stripping debugging symbols even with optimizations disabled: > cat main.c int main() { int a = 42; return a; } > clang -c -g -emit-llvm -o main.bc main.c > llvm-ld -disable-opt -b=a.out.bc main.bc > clang -g a.out.bc -o a.out >gdb a.out [...] (gdb) break main Breakpoint 1 at 0x40045b:
2009 Dec 10
2
[LLVMdev] Appending linkage
On Thu, Dec 10, 2009 at 12:26 AM, Robin Sommer <robinsommer at web.de> wrote: > > 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
2009 Dec 10
0
[LLVMdev] Appending linkage
On Thu, Dec 10, 2009 at 2:05 AM, Eli Friedman <eli.friedman at gmail.com> wrote: > On Thu, Dec 10, 2009 at 12:26 AM, Robin Sommer <robinsommer at web.de> wrote: >> >> 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
2008 Dec 19
2
[Bug 536] C++ compilation failure when using the iptables header files
http://bugzilla.netfilter.org/show_bug.cgi?id=536 pavlin at icsi.berkeley.edu changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|trivial |blocker Priority|P2 |P1 ------- Comment #1 from pavlin at icsi.berkeley.edu 2008-12-19
2003 Sep 26
1
a. crossing branches with hclust, b. plot.dendrogram
Hello, a. when I use hclust with the methods media, centroid, and mcquitty, and plot the results, the dendrograms have lines that are crossing each other. Is this ok? b. My next question refers to plot.dendrogram: How can I use parameters as "hang" or "cex" here? E.g. for st <- as.dendrogram(subtreeshc[[x]]) I would like to have something like this, where cex and hang
2014 Jun 01
1
Tips punching through tight firewalls
Any tips or guidance on improving the probability of being able to connect to a Tinc daemon. I am currently on a guest wifi at a hospital for my in-laws family. Wanting to pass time and be semi productive, I tried to VPN back to my private networks but it appears the default port Tinc users is blocked. Here is what I know about their firewall: