-
-
Notifications
You must be signed in to change notification settings - Fork 273
Closed
Description
The IR tests always fail for me on Windows testing the x64 x86 build.
With the generated VS projects, it seems the ldc2 executable is expected in the build-ldc2-x64/bin folder, but it is generated to the Debug/Release subfolder:
Command 0 Stderr:
'C:/s/d/ldc/build-ldc2-x64/bin/ldc2': command not found
With the Ninja build, ldc2 is found, but the test fails with this snippet found in the LastTest.log file:
Command 1 Stderr:
C:\s\d\ldc\ldc\tests\ir\attributes.d:12:15: error: expected string not found in input
// CHECK-DAG: define void @{{.*}}sectionedfoo{{.*}} section "funcSection"
^
<stdin>:1:1: note: scanning from here
; ModuleID = 'C:\s\d\ldc\ldc\tests\ir\attributes.d'
^
<stdin>:19:37: note: possible intended match here
define x86_stdcallcc void @"\01__D10attributes12sectionedfooFZv"() #0 section "funcSection" {
^
It seems the additional calling convention is unexpected.
Here's the output for align.d:
Command 1 Stderr:
C:\s\d\ldc\ldc\tests\ir\align.d:12:11: error: expected string not found in input
// CHECK: define void @_D5align23passAndReturnOuterByValFS5align5OuterZS5align5Outer
^
<stdin>:35:80: note: scanning from here
@_D5align5Inner6__initZ = constant %align.Inner_init zeroinitializer, align 32 ; [#uses = 0]
^
<stdin>:46:20: note: possible intended match here
define x86_stdcallcc void @"\01__D5align23passAndReturnOuterByValFS5align5OuterZS5align5Outer"(%align.Outer* inreg noalias %.sret_arg, %align.Outer* byval %arg_arg) {
The other 3 tests are reported to pass.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels