search for: printstr

Displaying 10 results from an estimated 10 matches for "printstr".

2012 Dec 13
2
[LLVMdev] Fwd: error while linking modules with exception handling demo code
...} { i32 1 } @typeInfo2 = constant { i32 } { i32 2 } @typeInfo3 = constant { i32 } { i32 3 } @typeInfo4 = constant { i32 } { i32 4 } @typeInfo5 = constant { i32 } { i32 5 } @typeInfo6 = constant { i32 } { i32 6 } declare void @print32Int(i32, i8*) declare void @print64Int(i64, i8*) declare void @printStr(i8*) declare void @throwCppException(i32) declare void @deleteOurException(i8*) declare i8* @createOurException(i32) declare i32 @_Unwind_RaiseException(i8*) noreturn declare i32 @_Unwind_Resume(i8*) noreturn declare i32 @ourPersonality(i32, i32, i64, i8*, i8*) declare i32 @llvm.eh.typeid.fo...
2009 Jun 20
0
[LLVMdev] How to call C++ code from LLVM
Sorry could you help me? I have problem with using LLVM and some code in C (.so file) I want to use (simply example): mylib.c: #include <stdio.h> void printString(char *str) { printf("%s", str); } mylib.h: #ifndef MY_LIB_HEADER #define MY_LIB_HEADER void printString(char* X); #endif /////////////////////////////////////// Normally in C++ I do this: g++ -fPIC -c mylib.c g++ -shared -o libmylib.so mylib.o (and after that : g++...
2009 Jun 19
0
[LLVMdev] How to call C++ code from LLVM
On Thu, Jun 18, 2009 at 3:57 PM, Jules Jacobs<julesjacobs at gmail.com> wrote: > How can I call C++ libraries (LLVM & Qt for example) from a language that's > implemented on top of LLVM? You can call them the same way a C++ file compiled with llvm-g++ would call them. Essentially, it's complicated enough that you probably don't want to do it for any interface of
2009 Jun 18
3
[LLVMdev] How to call C++ code from LLVM
Hi, How can I call C++ libraries (LLVM & Qt for example) from a language that's implemented on top of LLVM? Thanks, Jules -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090619/4621508b/attachment.html>
2008 Feb 10
2
View() + "End" key on Ubuntu=segfault
I can repeatably crash R (segfault) by doing n <- 10 z <- data.frame(a=1:n,b=1:n) View(z) and then hitting the "End" key on my keyboard. I haven't got debugging going yet, but running under gdb (without debugging symbols) does give this: 0xb7b63583 in strlen () from /lib/tls/i686/cmov/libc.so.6 R version 2.6.2 (2008-02-08) i486-pc-linux-gnu [Ubuntu Gutsy] locale:
2010 Feb 16
2
Problem in gdb
...following details 1. How to run a i386 compiled program in IA64 bit environment using gdb and be able to hit break points? 2.How do we catch a running process in gdb and apply a breakpoint in our setup. The code of C program in question is given below #include <stdio.h> int count=0; void printString(); int main() { printf("unlock\n"); while(1) { //do nothing printString(); //break; } return 0; } void printString() { count++; printf("count = %d\n",count); return; } The above c code compiled in i386 environment and the IA64 bit server in whic...
2013 Mar 17
0
[LLVMdev] LLVM ERROR: Program used external function 'X.foo' which could not be resolved!
...} { i32 1 } @typeInfo2 = constant { i32 } { i32 2 } @typeInfo3 = constant { i32 } { i32 3 } @typeInfo4 = constant { i32 } { i32 4 } @typeInfo5 = constant { i32 } { i32 5 } @typeInfo6 = constant { i32 } { i32 6 } declare void @print32Int(i32, i8*) declare void @print64Int(i64, i8*) declare void @printStr(i8*) declare void @throwCppException(i32) declare void @deleteOurException(i8*) declare i8* @createOurException(i32) declare i32 @_Unwind_RaiseException(i8*) noreturn declare i32 @_Unwind_Resume(i8*) noreturn declare i32 @ourPersonality(i32, i32, i64, i8*, i8*) declare i32 @llvm.eh.typeid.fo...
2014 Jan 19
2
USB boot problems on Gigabyte GA-M55Plus-S3G
...7C0h add ax, 288 mov ss, ax mov sp, 4096 mov ax, 07C0h mov ds, ax call PrintHelloWorld jmp .InfiniteLoop .InfiniteLoop: jmp .InfiniteLoop HelloWorld db "Hello World Bootloader !!", 0x0d, 0x0a, 0x00 PrintHelloWorld: mov si, HelloWorld call PrintStr ret PrintStr: push ax mov ah, 0Eh .loop: lodsb cmp al, 0x00 je .done int 10h jmp .loop .done: pop ax ret times 510-($-$$) db 0 dw 0xAA55 ' > hello.asm nasm -f bin -o hello.bin hello.asm dd status=noxfer conv=notrunc...
2007 Sep 07
1
"bug" and patch: quadratic running time for strsplit(..., fixed=TRUE) (PR#9902)
...ly written, this left an undefined byte at + the end of bufp, followed by a zero byte; luckily, the storage + pointed to by bufp had already been zeroed, so the undefined + byte was in fact zero. */ + strcpy(bufp, text); + bufp += (j = strlen(text)); + clength += j; printstring(DE, buf, clength, DE->crow, DE->ccol, 1); return;
2014 Jan 18
5
USB boot problems on Gigabyte GA-M55Plus-S3G
> > In message <BLU0-SMTP2805E16A0E7A33B925EDF458BB80 at phx.gbl>, > Ady <ady-sf at hotmail.com> wrote: > > >Now, to move forward with Clonezilla in your USB drive, we need to > >proceed with some steps that are not as simple as dd'ing an image. > > Apologies for my impertinence, but I have one question: Why? > > I was under the impression