[llvm-commits] [llvm-gcc-4.2] r59808 - /llvm-gcc-4.2/trunk/gcc/config/darwin.h
Bill Wendling
isanbard at gmail.com
Fri Nov 21 00:56:49 PST 2008
Author: void
Date: Fri Nov 21 02:56:46 2008
New Revision: 59808
URL: http://llvm.org/viewvc/llvm-project?rev=59808&view=rev
Log:
Get the section name for "l_objc_msgSend" objects.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.h
Modified: llvm-gcc-4.2/trunk/gcc/config/darwin.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/darwin.h?rev=59808&r1=59807&r2=59808&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin.h Fri Nov 21 02:56:46 2008
@@ -1439,12 +1439,13 @@
*/
#define LLVM_IMPLICIT_TARGET_GLOBAL_VAR_SECTION(decl) \
(((DECL_NAME (decl) && \
- TREE_CODE (DECL_NAME (decl)) == IDENTIFIER_NODE && \
- IDENTIFIER_POINTER (DECL_NAME (decl)) && \
- (!strncmp (IDENTIFIER_POINTER (DECL_NAME (decl)), "L_OBJC_", 7) || \
- !strncmp (IDENTIFIER_POINTER (DECL_NAME (decl)), "l_OBJC_", 7))) || \
- TREE_CODE(decl) == CONST_DECL) ? \
- darwin_objc_llvm_implicit_target_global_var_section(decl) : 0)
+ TREE_CODE (DECL_NAME (decl)) == IDENTIFIER_NODE && \
+ IDENTIFIER_POINTER (DECL_NAME (decl)) && \
+ (!strncmp (IDENTIFIER_POINTER (DECL_NAME (decl)), "L_OBJC_", 7) || \
+ !strncmp (IDENTIFIER_POINTER (DECL_NAME (decl)), "l_OBJC_", 7) || \
+ !strncmp (IDENTIFIER_POINTER (DECL_NAME (decl)), "l_objc_", 7))) || \
+ TREE_CODE(decl) == CONST_DECL) ? \
+ darwin_objc_llvm_implicit_target_global_var_section(decl) : 0)
const char *darwin_objc_llvm_implicit_target_global_var_section(tree);
const char *darwin_objc_llvm_special_name_section(const char*);
More information about the llvm-commits
mailing list