[llvm-commits] [llvm-gcc-4.2] r67712 - in /llvm-gcc-4.2/trunk/gcc/config: arm/darwin.h i386/darwin.h rs6000/darwin.h
Devang Patel
dpatel at apple.com
Wed Mar 25 15:32:35 PDT 2009
Author: dpatel
Date: Wed Mar 25 17:32:35 2009
New Revision: 67712
URL: http://llvm.org/viewvc/llvm-project?rev=67712&view=rev
Log:
Ignore -g* in LTO mode.
Modified:
llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h
llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h
llvm-gcc-4.2/trunk/gcc/config/rs6000/darwin.h
Modified: llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h?rev=67712&r1=67711&r2=67712&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/arm/darwin.h Wed Mar 25 17:32:35 2009
@@ -36,6 +36,8 @@
%{!fbuiltin-strcpy:-fno-builtin-strcpy} \
%<fbuiltin-strcat \
%<fbuiltin-strcpy \
+"/* LLVM LOCAL ignore -g in LTO mode */"\
+%{O4|flto: %<g* } \
%<pg"
#undef LIB_SPEC
Modified: llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h?rev=67712&r1=67711&r2=67712&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/i386/darwin.h Wed Mar 25 17:32:35 2009
@@ -101,6 +101,8 @@
%{!mmacosx-version-min=*: %{!miphoneos-version-min=*: %(darwin_cc1_minversion)}} \
"/* APPLE LOCAL ignore -mcpu=G4 -mcpu=G5 */"\
%<faltivec %<mno-fused-madd %<mlong-branch %<mlongcall %<mcpu=G4 %<mcpu=G5 \
+ "/* LLVM LOCAL ignore -g in LTO mode */"\
+ %{O4|flto: %<g* } \
%{g: %{!fno-eliminate-unused-debug-symbols: -feliminate-unused-debug-symbols }}"
/* APPLE LOCAL AltiVec */
Modified: llvm-gcc-4.2/trunk/gcc/config/rs6000/darwin.h
URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/config/rs6000/darwin.h?rev=67712&r1=67711&r2=67712&view=diff
==============================================================================
--- llvm-gcc-4.2/trunk/gcc/config/rs6000/darwin.h (original)
+++ llvm-gcc-4.2/trunk/gcc/config/rs6000/darwin.h Wed Mar 25 17:32:35 2009
@@ -114,6 +114,8 @@
"/* APPLE LOCAL ARM 5683689 */"\
%{!mmacosx-version-min=*: %{!miphoneos-version-min=*: %(darwin_cc1_minversion)}} \
"/* APPLE LOCAL -fast or -fastf or -fastcp */"\
+ "/* LLVM LOCAL ignore -g in LTO mode */"\
+ %{O4|flto: %<g* } \
%{!mkernel:%{!static:%{!fast:%{!fastf:%{!fastcp:%{!mdynamic-no-pic:-fPIC}}}}}}"
#define DARWIN_ARCH_SPEC "%{m64:ppc64;:ppc}"
More information about the llvm-commits
mailing list