Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[squash] workaround to fix arm64 failing test
  • Loading branch information
Matheus Marchini committed Jan 25, 2018
commit f798beb546f3e7c9a62019f96c955c266af655d1
5 changes: 5 additions & 0 deletions test/cctest/test_node_postmortem_metadata.cc
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,11 @@ TEST_F(DebugSymbolsTest, ReqWrapList) {
obj_template->GetFunction()->NewInstance(env.context()).ToLocalChecked();
TestReqWrap obj(*env, object);

// NOTE (mmarchini): Workaround to fix failing tests on ARM64 machines with
// older GCC. Should be removed once we upgrade the GCC version used on our
// ARM64 CI machinies.
for (auto it : *(*env)->req_wrap_queue()) {}

auto queue = reinterpret_cast<uintptr_t>((*env)->req_wrap_queue());
auto head = queue +
nodedbg_offset_Environment_ReqWrapQueue__head___ListNode_ReqWrapQueue;
Expand Down