Displaying 3 results from an estimated 3 matches for "tp54212p54235".
2013 Jan 27
0
[LLVMdev] problem with setLocale
Hi Ali, did you link your program statically? Try linking it dynamically.
Ciao, Duncan.
On 27/01/13 07:36, Ali Sedaghat wrote:
> In order to print unicode characters with llvm, I used setLocale in llvm ir:
>
> call i8* @setlocale(i32 6, i8* getelementptr inbounds ([1 x i8]* @pe, i32
> 0, i32 0)) nounwind
>
> where @pe is defined as follows:
>
> @pe = private
2013 Jan 28
2
[LLVMdev] problem with setLocale
...file using llc.
Then, I use clang++ to link them and generate an executable file without
linking with any external libraries, so I cannot understand what you mean.
Sorry, if my question sounds silly to you
--
View this message in context: http://llvm.1065342.n5.nabble.com/problem-with-setLocale-tp54212p54235.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2013 Jan 27
2
[LLVMdev] problem with setLocale
In order to print unicode characters with llvm, I used setLocale in llvm ir:
call i8* @setlocale(i32 6, i8* getelementptr inbounds ([1 x i8]* @pe,
i32 0, i32 0)) nounwind
where @pe is defined as follows:
@pe = private unnamed_addr constant [1 x i8] zeroinitializer, align 1
However, I got the following error:
*** glibc detected *** ./test/bin/executable: free(): invalid next size