search for: __nptr

Displaying 6 results from an estimated 6 matches for "__nptr".

Did you mean: __mptr
2010 Nov 03
1
[LLVMdev] "multiple definition of .. " in clang 2.8
...-O3. > > clang -O0 works fine, while clang -O3 makes redefinitions (probably it is > related to inlining) of the functions from stdlib.h, math.h and some other > libraries. To give one example, function atoi is defined in the generated > *.ll file: > > define i32 @atoi(i8* %__nptr) nounwind inlinehint { > entry: > %call = tail call i64 @strtol(i8* nocapture %__nptr, i8** null, i32 10) > nounwind readonly > %conv = trunc i64 %call to i32 > ret i32 %conv > } > > although it is not defined in the original C file. > > And clang redefines it...
2010 Nov 02
0
[LLVMdev] "multiple definition of .. " in clang 2.8
...8 I tested the same benchmarks with -O3. clang -O0 works fine, while clang -O3 makes redefinitions (probably it is related to inlining) of the functions from stdlib.h, math.h and some other libraries. To give one example, function atoi is defined in the generated *.ll file: define i32 @atoi(i8* %__nptr) nounwind inlinehint { entry: %call = tail call i64 @strtol(i8* nocapture %__nptr, i8** null, i32 10) nounwind readonly %conv = trunc i64 %call to i32 ret i32 %conv } although it is not defined in the original C file. And clang redefines it in all the *.ll files it generates, from each C fi...
2003 Jun 19
0
flashpluginwrapper for Flash 6 (Shared Library Tools redux)
...ot;, file, line, function, assertion); abort (); } #include <ctype.h> int __ctype_toupper(int c) { return toupper (c); } unsigned short int __ctype_b[256]; #include <errno.h> int *__errno_location(void) { return __error (); } unsigned long int __strtoul_internal(const char *__nptr, char **__endptr, int __base, int __group) { return strtoul (__nptr, __endptr, __base); } void __terminate() { fprintf (stderr, "terminate!\n"); } ssize_t __write (int __fd, const void *__buf, size_t __size) { return write (__fd, __buf, __size); } int __fxstat(int __v...
2010 Oct 29
2
[LLVMdev] "multiple definition of .. " in clang 2.8
Hi, I tried to run the SPEC benchmark suite SPECCPU 2006 with llvm and clang 2.8. When building the perlbench sources I get these errors (see below) for all the source files. I used a config file ( http://old.nabble.com/file/p30085184/llvm.cfg llvm.cfg ) where I specify clang as the compiler. I verified the same sources with llvm-gcc and it works fine. Also, I verified the sjeng benchmark from
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not allocating RBP to any virtual register, the instances of RBP in function foo are in the machine code when my register allocator starts.) Function foo calls function bar. Register RBP is not saved across the call, though it is live after the call. Function bar includes a virtual register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...d __malloc_check_init (void) __attribute__ ((__nothrow__)); typedef struct { int quot; int rem; } div_t; typedef struct { long int quot; long int rem; } ldiv_t; extern size_t __ctype_get_mb_cur_max (void) __attribute__ ((__nothrow__)) ; extern double atof (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern int atoi (__const char *__nptr) __attribute__ ((__nothrow__)) __attribute__ ((__pure__)) __attribute__ ((__nonnull__ (1))) ; extern long int atol (__const char *__nptr) __attribute__...