Changeset 161866 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Jan 13, 2014, 1:23:12 AM (11 years ago)
Author:
[email protected]
Message:

Unreviewed. Changes in r161686 are exposing a bug in GCC where the global .cfi_startproc directive
is not inserted early enough into the generated assembler code when building in debug mode, causing
compilation failures on ports using the GCC compilers. To work around the problem, only utilize the
OFFLINE_ASM_* macros that use .cfi_ directives when compiling with Clang.

  • llint/LowLevelInterpreter.cpp:
Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r161861 r161866  
     12014-01-13  Zan Dobersek  <[email protected]>
     2
     3        Unreviewed. Changes in r161686 are exposing a bug in GCC where the global .cfi_startproc directive
     4        is not inserted early enough into the generated assembler code when building in debug mode, causing
     5        compilation failures on ports using the GCC compilers. To work around the problem, only utilize the
     6        OFFLINE_ASM_* macros that use .cfi_ directives when compiling with Clang.
     7
     8        * llint/LowLevelInterpreter.cpp:
     9
    1102014-01-12  Commit Queue  <[email protected]>
    211
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp

    r161686 r161866  
    523523
    524524// These are for building an interpreter from generated assembly code:
    525 #if CPU(X86_64)
     525#if CPU(X86_64) && COMPILER(CLANG)
    526526#define OFFLINE_ASM_BEGIN   asm ( \
    527527    ".cfi_startproc\n"
     
    546546    ".thumb_func " THUMB_FUNC_PARAM(label) "\n"  \
    547547    SYMBOL_STRING(label) ":\n"
    548 #elif CPU(X86_64)
     548#elif CPU(X86_64) && COMPILER(CLANG)
    549549#define OFFLINE_ASM_GLOBAL_LABEL(label)         \
    550550    ".text\n"                                   \
Note: See TracChangeset for help on using the changeset viewer.