search for: my_alloc

Displaying 7 results from an estimated 7 matches for "my_alloc".

Did you mean: my_calloc
2017 Apr 30
2
allocsize: change from 3.9 to 4.0
...size function attribute to our compiler (LDC), thinking that that would enable removal of function calls when the allocated memory is not used. For example: ``` declare i8* @my_malloc(i32) allocsize(0) define void @test_malloc() { %1 = call i8* @my_malloc(i32 100) ret void } ``` I thought the my_alloc call in test_malloc would be removed, but `opt -O3` doesn't do that (LLVM 4.0 and trunk). However, LLVM3.9's `opt` _does_ remove the call. I can't find out why this was changed. (if the call is to "malloc", it is removed because LLVM recognizes the function name) Thanks for...
2006 Jan 30
3
RMySQL install
...ation... [root at BX mtaylor]# ls /usr/include/mysql chardefs.h m_ctype.h my_dir.h my_no_pthread.h mysql_embed.h my_xml.h rlshell.h sslopt-longopts.h errmsg.h m_string.h my_getopt.h my_pthread.h mysql.h raid.h rltypedefs.h sslopt-vars.h history.h my_alloc.h my_global.h my_semaphore.h mysql_time.h readline.h sql_common.h tilde.h keycache.h my_config.h my_list.h mysql_com.h mysql_version.h rlmbutil.h sql_state.h typelib.h keymaps.h my_dbug.h my_net.h mysqld_error.h my_sys.h rlprivate.h sslopt-case.h...
2005 Jun 29
1
Can't build cdr_addon_mysql.
...root 6774 May 13 06:14 keycache.h -rw-r--r-- 1 root root 3529 May 13 06:14 keymaps.h -rw-r--r-- 1 root root 17851 May 13 06:14 m_ctype.h -rw-r--r-- 1 root root 8085 May 13 06:14 m_string.h -rw-r--r-- 1 root root 1858 May 13 06:14 my_alloc.h -rw-r--r-- 1 root root 28423 May 13 06:14 my_config.h -rw-r--r-- 1 root root 3463 May 13 06:14 my_dbug.h -rw-r--r-- 1 root root 3509 May 13 06:14 my_dir.h -rw-r--r-- 1 root root 3000 May 13 06:14 my_getopt.h -rw-r--r-- 1 root root...
2005 Jul 05
0
Problem installing RMySQL_0.5-5
...ontaining: errmsg.h my_dir.h my_semaphore.h my_sys.h sslopt- longopts.h keycache.h my_getopt.h mysql_com.h my_xml.h sslopt- vars.h m_ctype.h my_global.h mysqld_error.h raid.h typelib.h m_string.h my_list.h mysql_embed.h readline.h my_alloc.h my_net.h mysql.h sql_common.h my_config.h my_no_pthread.h mysql_time.h sql_state.h my_dbug.h my_pthread.h mysql_version.h sslopt-case.h # export PKG_LIBS="-L/opt/lampp/lib/mysql -lmysqlclient" containing: libdbug.a libmysqlclient libmysql...
2012 Sep 25
0
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v3)
...[alias], [weak, alias], + [void other_function(void *foo) { } + void some_function(void *foo) __attribute__((weak, alias("other_function")));], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_MALLOC], [ + CC_CHECK_ATTRIBUTE( + [malloc], , + [void * __attribute__((malloc)) my_alloc(int n);], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_PACKED], [ + CC_CHECK_ATTRIBUTE( + [packed], , + [struct astructure { char a; int b; long c; void *d; } __attribute__((packed)); + char assert@<:@(sizeof(struct astructure) == (sizeof(char)+sizeof(int)+sizeof(long)+sizeof(void*)...
2012 Sep 25
3
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v2)
...[alias], [weak, alias], + [void other_function(void *foo) { } + void some_function(void *foo) __attribute__((weak, alias("other_function")));], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_MALLOC], [ + CC_CHECK_ATTRIBUTE( + [malloc], , + [void * __attribute__((malloc)) my_alloc(int n);], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_PACKED], [ + CC_CHECK_ATTRIBUTE( + [packed], , + [struct astructure { char a; int b; long c; void *d; } __attribute__((packed)); + char assert@<:@(sizeof(struct astructure) == (sizeof(char)+sizeof(int)+sizeof(long)+sizeof(void*)...
2012 Sep 29
2
[libopusfile PATCH] build: implement autotools build system for libopusfile. (v4)
...[alias], [weak, alias], + [void other_function(void *foo) { } + void some_function(void *foo) __attribute__((weak, alias("other_function")));], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_MALLOC], [ + CC_CHECK_ATTRIBUTE( + [malloc], , + [void * __attribute__((malloc)) my_alloc(int n);], + [$1], [$2]) +]) + +AC_DEFUN([CC_ATTRIBUTE_PACKED], [ + CC_CHECK_ATTRIBUTE( + [packed], , + [struct astructure { char a; int b; long c; void *d; } __attribute__((packed)); + char assert@<:@(sizeof(struct astructure) == (sizeof(char)+sizeof(int)+sizeof(long)+sizeof(void...