swift icon indicating copy to clipboard operation
swift copied to clipboard

[SR-2097] test/IRGen/dllimport.swift is failing on master-next

Open rudkx opened this issue 10 years ago • 6 comments

Previous ID SR-2097
Radar rdar://problem/27389569
Original Reporter @rudkx
Type Bug
Status Closed
Resolution Done

Additional Detail from JIRA
Votes 0
Component/s
Labels Bug
Assignee @compnerd
Priority Medium

md5: c73a0456d7ff36f6813e7d1a651fbf60

Issue Description:

This test is failing after the most recent merge into master-next.

'/Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx-master-next/buildbot_incremental/swift-macosx-x86_64/bin/swift' -frontend -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cachewqfE9b' -disable-objc-attr-requires-foundation-module ~~target thumbv7~~-windows-itanium -emit-ir -parse-as-library -parse-stdlib -module-name dllimport /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx-master-next/swift/test/IRGen/dllimport.swift -o - -enable-source-import -I /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx-master-next/swift/test/IRGen | FileCheck /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx-master-next/swift/test/IRGen/dllimport.swift -check-prefix CHECK -check-prefix CHECK-NO-OPT '/Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx-master-next/buildbot_incremental/swift-macosx-x86_64/bin/swift' -frontend -module-cache-path '/var/folders/_8/79jmzf2142z2xydc_01btlx00000gn/T/swift-testsuite-clang-module-cachewqfE9b' -disable-objc-attr-requires-foundation-module ~~target thumbv7~~-windows-itanium -O -emit-ir -parse-as-library -parse-stdlib -module-name dllimport /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx-master-next/swift/test/IRGen/dllimport.swift -o - -enable-source-import -I /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx-master-next/swift/test/IRGen | FileCheck /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx-master-next/swift/test/IRGen/dllimport.swift -check-prefix CHECK -check-prefix CHECK-OPT – Exit Code: 1

Command Output (stderr): – /Users/buildnode/jenkins/workspace/oss-swift-incremental-RA-osx-master-next/swift/test/IRGen/dllimport.swift:37:15: error: expected string not found in input // CHECK-DAG: @_swift_retain = external dllimport global void (%swift.refcounted*) ^ :1:1: note: scanning from here ; ModuleID = '-' ^ :16:1: note: possible intended match here @_swift_retain = external dllimport local_unnamed_addr global void (%swift.refcounted*)* ^

rudkx avatar Jul 16 '16 19:07 rudkx

Saleem, can you take a look at this failure on master-next?

rudkx avatar Jul 16 '16 19:07 rudkx

FYI @compnerd, I disabled this in 118440b929bc465367da343861123826f3c4f879, so you'll have to re-enable the test to reproduce the issue.

rudkx avatar Jul 16 '16 19:07 rudkx

Already fixed: https://github.com/compnerd/apple-swift/commit/e286800ff8313926f4ee4c4dba0f2c0c077c281d.patch

I sent an email about this to you and Michael, I was waiting on the update to commit that into the repo :-).

compnerd avatar Jul 16 '16 19:07 compnerd

PR 3548 should address it. Thanks for updating master-next!

compnerd avatar Jul 16 '16 19:07 compnerd

Ah, I overlooked your e-mail thinking it was related to the other patch that I cherry-picked.

rudkx avatar Jul 16 '16 20:07 rudkx

The change was merged by Mark.

compnerd avatar Jul 16 '16 21:07 compnerd