Displaying 10 results from an estimated 10 matches for "printstring".
Did you mean:
print_string
2012 Dec 13
2
[LLVMdev] Fwd: error while linking modules with exception handling demo code
---------- Forwarded message ----------
From: charles quarra <charllsnotieneningunputocorreo at gmail.com>
Date: 2012/12/13
Subject: error while linking modules with exception handling demo code
To: llvmdev at cs.uiuc.edu
Hi,
I am building a module X with an arithmetic function foo, a module Y
with an arithmetic function foo2 that invokes foo. For the invocation
be a proper one (being
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++ -Wa...
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
which w...
2013 Mar 17
0
[LLVMdev] LLVM ERROR: Program used external function 'X.foo' which could not be resolved!
Hi,
I have this module:
; ModuleID = './executableModule'
@typeInfo0 = constant { i32 } zeroinitializer
@typeInfo1 = constant { i32 } { 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
2014 Jan 19
2
USB boot problems on Gigabyte GA-M55Plus-S3G
#!/bin/bash
# a small shell script to:
# 1) make a simple asm program
# 2) compile that program with `nasm'
# 3) convert resulting .bin to a .img with `dd'
# 4) boot the reulting "hello.img" with qemu/kvm
# I think this qualifies as a bootloader, sort of
# sincerely hope it helps address Mr. Guilmette curiousity
# -chris graff
printf '
BITS 16
jmp
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