Skip to content

Commit

Permalink
#2687: ARMv7: dynamiccompile failures (#2688)
Browse files Browse the repository at this point in the history
* Disable jit exceptions test on ARM

* jit asm output test: write actual output to stdout
  • Loading branch information
Hardcode84 committed May 25, 2018
1 parent 7613eb5 commit 5c4c08d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/dynamiccompile/asm_output.d
@@ -1,6 +1,7 @@

// RUN: %ldc -enable-dynamic-compile -run %s

import std.stdio;
import std.array;
import std.string;
import ldc.attributes;
Expand Down Expand Up @@ -31,10 +32,15 @@ void main(string[] args)
{
if (DumpStage.FinalAsm == stage)
{
write(str);
dump.put(str);
}
};
writeln("===========================================");
compileDynamicCode(settings);
writeln();
writeln("===========================================");
stdout.flush();

// Check function and variables names in asm
assert(1 == count(dump.data, foo.mangleof));
Expand Down
3 changes: 3 additions & 0 deletions tests/dynamiccompile/throw.d
Expand Up @@ -2,6 +2,9 @@
// exceptions is broken on windows
// win64 issue https://bugs.llvm.org//show_bug.cgi?id=24233
// XFAIL: Windows
//
// Also, some issue on Arm
// XFAIL: host_ARM
// RUN: %ldc -enable-dynamic-compile -run %s

import std.exception;
Expand Down

0 comments on commit 5c4c08d

Please sign in to comment.