Ignore:
Timestamp:
May 10, 2016, 6:56:00 PM (9 years ago)
Author:
[email protected]
Message:

REGRESSION(r200447): Unable to build C_LOOP with clang version 800.0.12 or higher
https://bugs.webkit.org/show_bug.cgi?id=157549

Reviewed by Keith Miller.

Disable debug annotations for C_LOOP builds. They are inline assembly directives,
unnecessary and they cause syntax errors.

  • offlineasm/asm.rb:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/offlineasm/asm.rb

    r196541 r200666  
    348348        forSettings(computeSettingsCombinations(ast)[configIndex], ast) {
    349349            | concreteSettings, lowLevelAST, backend |
     350
     351            # There could be multiple backends we are generating for, but the C_LOOP is
     352            # always by itself so this check to turn off $enableDebugAnnotations won't
     353            # affect the generation for any other backend.
     354            if backend == "C_LOOP"
     355                $enableDebugAnnotations = false
     356            end
     357
    350358            lowLevelAST = lowLevelAST.resolve(*buildOffsetsMap(lowLevelAST, offsetsList))
    351359            lowLevelAST.validate
Note: See TracChangeset for help on using the changeset viewer.