IonMonkey: (ARM) Assertion failure: unsupported relocation, at ion/arm/Assembler-arm.cpp:572

RESOLVED WORKSFORME

Status

()

Core
JavaScript Engine
--
major
RESOLVED WORKSFORME
6 years ago
4 years ago

People

(Reporter: decoder, Unassigned)

Tracking

(Blocks: 2 bugs, {assertion, testcase})

Other Branch
ARM
Linux
assertion, testcase
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
The following testcase asserts on ionmonkey-arm (private branch) revision  (run with --ion -n -m --ion-eager):


function TestCase(n, d, e, a) {
  this.name = n;
  this.description = d;
  this.actual = a;
  this.passed = getTestCaseResult(e, a);
  var lines = msg.split ("\n");
  for (var i=0; i<lines.length; i++)
    print (STATUS + lines[i]);
}
function toPrinted(value) {
  if (typeof value == "xml") {
    value = value.toXMLString();
  } 
  value = String(value);
  value = value.replace(/\\n/g, 'NL')
               .replace(/\n/g, 'NL')
               .replace(/\\r/g, 'CR')
               .replace(/[^\x20-\x7E]+/g, escapeString);
}
function escapeString (str) {}
function reportCompare (expected, actual, description) {
  var output = "";
    output += "Expected value '" + toPrinted(expected) +
      "', Actual value '" + toPrinted(actual) + "' ";
  var testcase = new TestCase("unknown-test-name", description, expected, actual);
  if (typeof document != "object" ||      !document.location.href.match(/jsreftest.html/)) {  }
}
function optionsClear() {
  var optionNames = options().split(',');
  for (var i = 0; i < optionNames.length; i++)   {
    var optionName = optionNames[i];
    if (optionName &&        optionName != "ion")    {    }
  }
}
  optionsClear();
var summary = 'GC hazard due to missing SAVE_SP_AND_PC';
test();
function test() {
  function f(a, b, c) {
    return (-a) * ((-b) * (-c));
  }
  if (typeof gczeal == 'function') {
    expect = f(1.5, 1.25, 1.125);
    gczeal(2);
    actual = f(1.5, (1), 1.125);
  }
  reportCompare(expect, actual, summary);
}
(Reporter)

Updated

6 years ago
Summary: IonMonkey: Assertion failure: unsupported relocation, at ion/arm/Assembler-arm.cpp:572 → IonMonkey: (ARM) Assertion failure: unsupported relocation, at ion/arm/Assembler-arm.cpp:572
Looks like one of the other patches I have in my review queue fixed this issue.  I'll mark it worksforme when all of those patches land (Or I can test this with each patch in my queue applied to see which one fixes this issue)
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → WORKSFORME
Group: core-security
You need to log in before you can comment on or make changes to this bug.