[llvm-commits] [llvm-gcc-4.2] r59993 - in /llvm-gcc-4.2/trunk/gcc: config/darwin.h llvm-backend.cpp
Bill Wendling
isanbard at gmail.com
Mon Nov 24 15:34:08 PST 2008
Author: void
Date: Mon Nov 24 17:34:07 2008
New Revision: 59993
URL: http://llvm.org/viewvc/llvm-project?rev=59993&view=rev
Log:
Add LLVM local markers.
Modified:
llvm-gcc-4.2/trunk/gcc/config/darwin.h
llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
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=59993&r1=59992&r2=59993&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/darwin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/darwin.h Mon Nov 24 17:34:07 2008
@@ -695,6 +695,7 @@
} \
} while (0)
+/* LLVM LOCAL - begin radar 6389998 */
/* A const CFString is created as an anonymous global variable. LLVM then gives
it the name '__unnamed_#_#'. This causes troubles with the runtime, which
expects the name to be internal. Give it an internal name here. */
@@ -708,6 +709,7 @@
GV->setName(N); \
} \
} while (0)
+/* LLVM LOCAL - end radar 6389998 */
#endif
/* LLVM LOCAL end */
Modified: llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp?rev=59993&r1=59992&r2=59993&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp (original)
+++ llvm-gcc-4.2/trunk/gcc/llvm-backend.cpp Mon Nov 24 17:34:07 2008
@@ -1134,10 +1134,12 @@
LLVM_IMPLICIT_TARGET_GLOBAL_VAR_SECTION(decl)) {
GV->setSection(Section);
+ /* LLVM LOCAL - begin radar 6389998 */
#ifdef TARGET_ADJUST_CFSTRING_NAME
if (!GV->hasName() && GV->hasInternalLinkage())
TARGET_ADJUST_CFSTRING_NAME(GV, Section);
#endif
+ /* LLVM LOCAL - end radar 6389998 */
}
#endif
}
More information about the llvm-commits
mailing list