search for: robinsommer

Displaying 8 results from an estimated 8 matches for "robinsommer".

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 arra...
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 though if it's then >>> possible to get the s...
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 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
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?
2009 Feb 26
1
[LLVMdev] Question about variable sized arrays
I'd like to represent strings "Pascal-style" with a length field followed by the actual bytes. Reading the reference manual, I think using a zero-length array should work in a struct like this: { i32, [0 x int8] } However, I get a problem with referencing constants. The following code doesn't compie: @foo = constant { i32, [3 x i8] } { i32 3, [3 x i8]
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: