Changeset 80915 in webkit


Ignore:
Timestamp:
Mar 11, 2011 6:13:09 PM (13 years ago)
Author:
mrowe@apple.com
Message:

Adopt the LLVM Compiler for debug builds.

Rubber-stamped by Adam Roben and Sam Weinig.

Location:
trunk
Files:
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/Configurations/Base.xcconfig

    r79131 r80915  
    2626GCC_DEBUGGING_SYMBOLS = default;
    2727GCC_DYNAMIC_NO_PIC = NO;
    28 GCC_ENABLE_CPP_EXCEPTIONS = NO;
    2928GCC_ENABLE_CPP_RTTI = NO;
    3029GCC_ENABLE_OBJC_EXCEPTIONS = YES;
     
    119118TARGET_GCC_VERSION_macosx_1050_0320 = GCC_42;
    120119TARGET_GCC_VERSION_macosx_1060 = GCC_42;
    121 TARGET_GCC_VERSION_macosx_1070 = LLVM_GCC_42;
     120TARGET_GCC_VERSION_macosx_1070 = $(TARGET_GCC_VERSION_macosx_1070_$(CONFIGURATION));
     121TARGET_GCC_VERSION_macosx_1070_Debug = LLVM_COMPILER;
     122TARGET_GCC_VERSION_macosx_1070_Release = LLVM_GCC_42;
     123TARGET_GCC_VERSION_macosx_1070_Production = LLVM_GCC_42;
    122124
    123125GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    125127GCC_VERSION_GCC_42 = 4.2;
    126128GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     129GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     130
     131// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     132GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     133GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     134GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     135GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     136GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    127137
    128138// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
  • trunk/Source/JavaScriptGlue/Configurations/Base.xcconfig

    r66916 r80915  
    2727GCC_DEBUGGING_SYMBOLS = default;
    2828GCC_DYNAMIC_NO_PIC = NO;
    29 GCC_ENABLE_CPP_EXCEPTIONS = NO;
    3029GCC_ENABLE_CPP_RTTI = NO;
    3130GCC_ENABLE_OBJC_EXCEPTIONS = YES;
     
    8685TARGET_GCC_VERSION_1050_0320 = GCC_42;
    8786TARGET_GCC_VERSION_1060 = GCC_42;
    88 TARGET_GCC_VERSION_1070 = LLVM_GCC_42;
     87TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION));
     88TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER;
     89TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42;
     90TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42;
    8991
    9092GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    9294GCC_VERSION_GCC_42 = 4.2;
    9395GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     96GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     97
     98// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     99GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     100GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     101GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     102GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     103GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    94104
    95105// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
  • trunk/Source/ThirdParty/ANGLE/Configurations/Base.xcconfig

    r65515 r80915  
    33GCC_C_LANGUAGE_STANDARD = gnu99;
    44GCC_DEBUGGING_SYMBOLS = default;
    5 GCC_ENABLE_CPP_EXCEPTIONS = NO;
    65GCC_ENABLE_CPP_RTTI = NO;
    76GCC_ENABLE_OBJC_EXCEPTIONS = YES;
     
    3837TARGET_GCC_VERSION_1050_0320 = GCC_42;
    3938TARGET_GCC_VERSION_1060 = GCC_42;
    40 TARGET_GCC_VERSION_1070 = LLVM_GCC_42;
     39TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION));
     40TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER;
     41TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42;
     42TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42;
    4143
    4244GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    4446GCC_VERSION_GCC_42 = 4.2;
    4547GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     48GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     49
     50// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     51GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     52GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     53GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     54GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     55GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    4656
    4757// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
  • trunk/Source/WebCore/Configurations/Base.xcconfig

    r66916 r80915  
    2626GCC_DEBUGGING_SYMBOLS = default;
    2727GCC_DYNAMIC_NO_PIC = NO;
    28 GCC_ENABLE_CPP_EXCEPTIONS = NO;
    2928GCC_ENABLE_CPP_RTTI = NO;
    3029GCC_ENABLE_OBJC_EXCEPTIONS = YES;
     
    119118TARGET_GCC_VERSION_macosx_1050_0320 = GCC_42;
    120119TARGET_GCC_VERSION_macosx_1060 = GCC_42;
    121 TARGET_GCC_VERSION_macosx_1070 = LLVM_GCC_42;
     120TARGET_GCC_VERSION_macosx_1070 = $(TARGET_GCC_VERSION_macosx_1070_$(CONFIGURATION));
     121TARGET_GCC_VERSION_macosx_1070_Debug = LLVM_COMPILER;
     122TARGET_GCC_VERSION_macosx_1070_Release = LLVM_GCC_42;
     123TARGET_GCC_VERSION_macosx_1070_Production = LLVM_GCC_42;
    122124
    123125GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    125127GCC_VERSION_GCC_42 = 4.2;
    126128GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     129GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     130
     131// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     132GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     133GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     134GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     135GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     136GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    127137
    128138// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
  • trunk/Source/WebKit/mac/Configurations/Base.xcconfig

    r66916 r80915  
    2626GCC_DEBUGGING_SYMBOLS = default;
    2727GCC_DYNAMIC_NO_PIC = NO;
    28 GCC_ENABLE_CPP_EXCEPTIONS = NO;
    2928GCC_ENABLE_CPP_RTTI = NO;
    3029GCC_ENABLE_OBJC_EXCEPTIONS = YES;
     
    105104TARGET_GCC_VERSION_macosx_1050_0320 = GCC_42;
    106105TARGET_GCC_VERSION_macosx_1060 = GCC_42;
    107 TARGET_GCC_VERSION_macosx_1070 = LLVM_GCC_42;
     106TARGET_GCC_VERSION_macosx_1070 = $(TARGET_GCC_VERSION_macosx_1070_$(CONFIGURATION));
     107TARGET_GCC_VERSION_macosx_1070_Debug = LLVM_COMPILER;
     108TARGET_GCC_VERSION_macosx_1070_Release = LLVM_GCC_42;
     109TARGET_GCC_VERSION_macosx_1070_Production = LLVM_GCC_42;
    108110
    109111GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    111113GCC_VERSION_GCC_42 = 4.2;
    112114GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     115GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     116
     117// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     118GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     119GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     120GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     121GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     122GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    113123
    114124// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
  • trunk/Source/WebKit2/Configurations/Base.xcconfig

    r80089 r80915  
    2626GCC_DEBUGGING_SYMBOLS = default;
    2727GCC_DYNAMIC_NO_PIC = NO;
    28 GCC_ENABLE_CPP_EXCEPTIONS = NO;
    2928GCC_ENABLE_CPP_RTTI = NO;
    3029GCC_ENABLE_OBJC_EXCEPTIONS = YES;
     
    9695TARGET_GCC_VERSION_1050_0320 = GCC_42;
    9796TARGET_GCC_VERSION_1060 = GCC_42;
    98 TARGET_GCC_VERSION_1070 = LLVM_GCC_42;
     97TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION));
     98TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER;
     99TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42;
     100TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42;
    99101
    100102GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    102104GCC_VERSION_GCC_42 = 4.2;
    103105GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     106GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     107
     108// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     109GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     110GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     111GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     112GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     113GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    104114
    105115// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
  • trunk/Tools/DumpRenderTree/mac/Configurations/Base.xcconfig

    r60511 r80915  
    5353TARGET_GCC_VERSION_1050_0320 = GCC_42;
    5454TARGET_GCC_VERSION_1060 = GCC_42;
    55 TARGET_GCC_VERSION_1070 = LLVM_GCC_42;
     55TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION));
     56TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER;
     57TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42;
     58TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42;
    5659
    5760GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    5962GCC_VERSION_GCC_42 = 4.2;
    6063GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     64GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     65
     66// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     67GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     68GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     69GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     70GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     71GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    6172
    6273// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
  • trunk/Tools/MiniBrowser/Configurations/Base.xcconfig

    r74450 r80915  
    5050TARGET_GCC_VERSION_1050_0320 = GCC_42;
    5151TARGET_GCC_VERSION_1060 = GCC_42;
    52 TARGET_GCC_VERSION_1070 = LLVM_GCC_42;
     52TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION));
     53TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER;
     54TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42;
     55TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42;
    5356
    5457GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    5659GCC_VERSION_GCC_42 = 4.2;
    5760GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     61GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     62
     63// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     64GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     65GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     66GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     67GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     68GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    5869
    5970// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
  • trunk/Tools/TestWebKitAPI/Configurations/Base.xcconfig

    r74450 r80915  
    5353TARGET_GCC_VERSION_1050_0320 = GCC_42;
    5454TARGET_GCC_VERSION_1060 = GCC_42;
    55 TARGET_GCC_VERSION_1070 = LLVM_GCC_42;
     55TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION));
     56TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER;
     57TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42;
     58TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42;
    5659
    5760GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    5962GCC_VERSION_GCC_42 = 4.2;
    6063GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     64GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     65
     66// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     67GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     68GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     69GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     70GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     71GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    6172
    6273// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
  • trunk/Tools/WebKitTestRunner/Configurations/Base.xcconfig

    r77822 r80915  
    5353TARGET_GCC_VERSION_1050_0320 = GCC_42;
    5454TARGET_GCC_VERSION_1060 = GCC_42;
    55 TARGET_GCC_VERSION_1070 = LLVM_GCC_42;
     55TARGET_GCC_VERSION_1070 = $(TARGET_GCC_VERSION_1070_$(CONFIGURATION));
     56TARGET_GCC_VERSION_1070_Debug = LLVM_COMPILER;
     57TARGET_GCC_VERSION_1070_Release = LLVM_GCC_42;
     58TARGET_GCC_VERSION_1070_Production = LLVM_GCC_42;
    5659
    5760GCC_VERSION = $(GCC_VERSION_$(TARGET_GCC_VERSION));
     
    5962GCC_VERSION_GCC_42 = 4.2;
    6063GCC_VERSION_LLVM_GCC_42 = com.apple.compilers.llvmgcc42;
     64GCC_VERSION_LLVM_COMPILER = com.apple.compilers.llvm.clang.1_0;
     65
     66// FIXME: Disable C++ exceptions in the LLVM Compiler once it supports enabling Obj-C exceptions without C++ exceptions.
     67GCC_ENABLE_CPP_EXCEPTIONS = $(GCC_ENABLE_CPP_EXCEPTIONS_$(TARGET_GCC_VERSION));
     68GCC_ENABLE_CPP_EXCEPTIONS_GCC_40 = NO;
     69GCC_ENABLE_CPP_EXCEPTIONS_GCC_42 = NO;
     70GCC_ENABLE_CPP_EXCEPTIONS_LLVM_GCC = NO;
     71GCC_ENABLE_CPP_EXCEPTIONS_LLVM_COMPILER = YES;
    6172
    6273// If the target Mac OS X version does not match the current Mac OS X version then we'll want to build using the target version's SDK.
Note: See TracChangeset for help on using the changeset viewer.