Skip to content

[katei] Hello, world work#8

Closed
kateinoigakukun wants to merge 4 commits intoswiftwasmfrom
katei/investigate/wasm-runtime
Closed

[katei] Hello, world work#8
kateinoigakukun wants to merge 4 commits intoswiftwasmfrom
katei/investigate/wasm-runtime

Conversation

@kateinoigakukun
Copy link
Copy Markdown
Owner

Revert stdlib/public/core/OutputStream.swift

Revert stdlib/public/core/Mirror.swift

Revert stdlib/public/core/ExistentialCollection.swift.gyb partially

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

Revert stdlib/public/core/OutputStream.swift

Revert stdlib/public/core/Mirror.swift

Revert stdlib/public/core/ExistentialCollection.swift.gyb partially
kateinoigakukun added a commit that referenced this pull request Dec 14, 2019
* Add simple GitHub Actions config for macOS
* Add brew install to the macOS GH action
* Add update-checkout call to macOS GH action
* Export sourcedir shell variable in macOS GH action
* [WASM] Use prebuilt llvm-ar only on Linux
* [WASM] Added new Object format WASM to distinguish from ELF
* [WASM] Separate SwiftRT from ELF
* [WASM] Add preprocessor condition for wasm32 to track latest upstream
* Add wasi-sdk and icu install steps to the script
* [WASM] Set LIBC_INCLUDE_DIRECTORY without CACHE attribute to force new value
* [WASM] Adding share path to point correct directory
* [WASM] Add Linux CI job
* [WASM] Checkout branch after checking out Swift repos
* [WASM] Use release build to reduce artifact size
* [WASM] Use SWIFT_PRIMARY_VARIANT_SDK instead of HOST_SDK
In this case, SWIFT_PRIMARY_VARIANT_ARCH is used but host SDK was
not PRIMARY_SDK.
* [WASM] Remove ICU_STATICLIB on Linux
* [WASM] Output build log verbose
* [WASM] Set ICU lib directory instead of archive
* [WASM] Sort build options
* Revert "[WASM] Use SWIFT_PRIMARY_VARIANT_SDK instead of HOST_SDK"
kateinoigakukun added a commit that referenced this pull request Jan 11, 2020
* Add simple GitHub Actions config for macOS
* Add brew install to the macOS GH action
* Add update-checkout call to macOS GH action
* Export sourcedir shell variable in macOS GH action
* [WASM] Use prebuilt llvm-ar only on Linux
* [WASM] Added new Object format WASM to distinguish from ELF
* [WASM] Separate SwiftRT from ELF
* [WASM] Add preprocessor condition for wasm32 to track latest upstream
* Add wasi-sdk and icu install steps to the script
* [WASM] Set LIBC_INCLUDE_DIRECTORY without CACHE attribute to force new value
* [WASM] Adding share path to point correct directory
* [WASM] Add Linux CI job
* [WASM] Checkout branch after checking out Swift repos
* [WASM] Use release build to reduce artifact size
* [WASM] Use SWIFT_PRIMARY_VARIANT_SDK instead of HOST_SDK
In this case, SWIFT_PRIMARY_VARIANT_ARCH is used but host SDK was
not PRIMARY_SDK.
* [WASM] Remove ICU_STATICLIB on Linux
* [WASM] Output build log verbose
* [WASM] Set ICU lib directory instead of archive
* [WASM] Sort build options
* Revert "[WASM] Use SWIFT_PRIMARY_VARIANT_SDK instead of HOST_SDK"
kateinoigakukun added a commit that referenced this pull request Jan 24, 2020
* Add simple GitHub Actions config for macOS
* Add brew install to the macOS GH action
* Add update-checkout call to macOS GH action
* Export sourcedir shell variable in macOS GH action
* [WASM] Use prebuilt llvm-ar only on Linux
* [WASM] Added new Object format WASM to distinguish from ELF
* [WASM] Separate SwiftRT from ELF
* [WASM] Add preprocessor condition for wasm32 to track latest upstream
* Add wasi-sdk and icu install steps to the script
* [WASM] Set LIBC_INCLUDE_DIRECTORY without CACHE attribute to force new value
* [WASM] Adding share path to point correct directory
* [WASM] Add Linux CI job
* [WASM] Checkout branch after checking out Swift repos
* [WASM] Use release build to reduce artifact size
* [WASM] Use SWIFT_PRIMARY_VARIANT_SDK instead of HOST_SDK
In this case, SWIFT_PRIMARY_VARIANT_ARCH is used but host SDK was
not PRIMARY_SDK.
* [WASM] Remove ICU_STATICLIB on Linux
* [WASM] Output build log verbose
* [WASM] Set ICU lib directory instead of archive
* [WASM] Sort build options
* Revert "[WASM] Use SWIFT_PRIMARY_VARIANT_SDK instead of HOST_SDK"
kateinoigakukun added a commit that referenced this pull request Jan 25, 2020
* Add simple GitHub Actions config for macOS
* Add brew install to the macOS GH action
* Add update-checkout call to macOS GH action
* Export sourcedir shell variable in macOS GH action
* [WASM] Use prebuilt llvm-ar only on Linux
* [WASM] Added new Object format WASM to distinguish from ELF
* [WASM] Separate SwiftRT from ELF
* [WASM] Add preprocessor condition for wasm32 to track latest upstream
* Add wasi-sdk and icu install steps to the script
* [WASM] Set LIBC_INCLUDE_DIRECTORY without CACHE attribute to force new value
* [WASM] Adding share path to point correct directory
* [WASM] Add Linux CI job
* [WASM] Checkout branch after checking out Swift repos
* [WASM] Use release build to reduce artifact size
* [WASM] Use SWIFT_PRIMARY_VARIANT_SDK instead of HOST_SDK
In this case, SWIFT_PRIMARY_VARIANT_ARCH is used but host SDK was
not PRIMARY_SDK.
* [WASM] Remove ICU_STATICLIB on Linux
* [WASM] Output build log verbose
* [WASM] Set ICU lib directory instead of archive
* [WASM] Sort build options
* Revert "[WASM] Use SWIFT_PRIMARY_VARIANT_SDK instead of HOST_SDK"
@kateinoigakukun kateinoigakukun deleted the katei/investigate/wasm-runtime branch January 28, 2020 12:42
kateinoigakukun pushed a commit that referenced this pull request Jul 6, 2024
and RefElementAddr_getDecl.

Fixes:
Assertion failed: (isa<To>(Val) && "cast<Ty>() argument of incompatible type!"), function cast, file Casting.h

While running pass swiftlang#224 SILFunctionTransform "LifetimeDependenceDiagnostics"
 #7 0x0000000102d3efcc decltype(auto) llvm::cast<swift::DebugValueInst, swift::SILInstruction>(swift::SILInstruction*)
 #8 0x0000000102d01e24 swift::DebugValueInst* BridgedInstruction::getAs<swift::DebugValueInst>() const
 #9 0x0000000102d01ee4 BridgedInstruction::GlobalAddr_getDecl() const
kateinoigakukun pushed a commit that referenced this pull request Mar 23, 2026
When the host compiler is built with assertions, 'swiftc -parse -'
hits an assertion failure, which fails the capability checks.

```
Assertion failed: [&]() -> bool { if (FrontendOptions::shouldActionOnlyParse(Action)) { return llvm::all_of( opts.InputsAndOutputs.getAllInputs(), [](const InputFile &IF) { const auto kind = IF.getType(); return kind == file_types::TY_Swift || kind == file_types::TY_SwiftModuleInterfaceFile; }); } return true; }() && "Only supports parsing .swift files", file C:\Users\swift-ci\jenkins\workspace\swift-main-windows-toolchain\swift\lib\FrontendTool\FrontendTool.cpp, line 1737
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0.      Program arguments: S:\\b\\toolchains\\DEVELOPMENT-SNAPSHOT-2025-12-01-a\\LocalApp\\Programs\\Swift\\Toolchains\\0.0.0+Asserts\\usr\\bin\\swift-frontend.exe -frontend -parse -primary-file - -target x86_64-unknown-windows-msvc -disable-objc-interop -no-color-diagnostics -Xcc -fno-color-diagnostics -disable-implicit-string-processing-module-import -empty-abi-descriptor -no-auto-bridging-header-chaining -module-name main -in-process-plugin-server-path S:\\b\\toolchains\\DEVELOPMENT-SNAPSHOT-2025-12-01-a\\LocalApp\\Programs\\Swift\\Toolchains\\0.0.0+Asserts\\usr\\bin\\SwiftInProcPluginServer.dll -plugin-path S:\\b\\toolchains\\DEVELOPMENT-SNAPSHOT-2025-12-01-a\\LocalApp\\Programs\\Swift\\Toolchains\\0.0.0+Asserts\\usr\\bin -plugin-path S:\\b\\toolchains\\DEVELOPMENT-SNAPSHOT-2025-12-01-a\\LocalApp\\Programs\\Swift\\Toolchains\\0.0.0+Asserts\\usr\\local\\bin -autolink-library oldnames -autolink-library msvcrt -Xcc -D_MT -Xcc -D_DLL
1.      Swift version 6.3-dev (LLVM 35f48306184cd25, Swift a69dbb3)
2.      Compiling with effective version 5.10
Exception Code: 0x80000003
 #0 0x00007ff7a6efdda5 (S:\b\toolchains\DEVELOPMENT-SNAPSHOT-2025-12-01-a\LocalApp\Programs\Swift\Toolchains\0.0.0+Asserts\usr\bin\swift-frontend.exe+0x722dda5)
 #1 0x00007ff94d8b1989 (C:\WINDOWS\System32\ucrtbase.dll+0xc1989)
 #2 0x00007ff94d894ab1 (C:\WINDOWS\System32\ucrtbase.dll+0xa4ab1)
 #3 0x00007ff94d8b2986 (C:\WINDOWS\System32\ucrtbase.dll+0xc2986)
 #4 0x00007ff94d8b2b61 (C:\WINDOWS\System32\ucrtbase.dll+0xc2b61)
 #5 0x00007ff7a02d944d (S:\b\toolchains\DEVELOPMENT-SNAPSHOT-2025-12-01-a\LocalApp\Programs\Swift\Toolchains\0.0.0+Asserts\usr\bin\swift-frontend.exe+0x60944d)
 #6 0x00007ff7a02db914 (S:\b\toolchains\DEVELOPMENT-SNAPSHOT-2025-12-01-a\LocalApp\Programs\Swift\Toolchains\0.0.0+Asserts\usr\bin\swift-frontend.exe+0x60b914)
 #7 0x00007ff7a011b19e (S:\b\toolchains\DEVELOPMENT-SNAPSHOT-2025-12-01-a\LocalApp\Programs\Swift\Toolchains\0.0.0+Asserts\usr\bin\swift-frontend.exe+0x44b19e)
 #8 0x00007ff7a011ad57 (S:\b\toolchains\DEVELOPMENT-SNAPSHOT-2025-12-01-a\LocalApp\Programs\Swift\Toolchains\0.0.0+Asserts\usr\bin\swift-frontend.exe+0x44ad57)
 #9 0x00007ff7a6f667d0 (S:\b\toolchains\DEVELOPMENT-SNAPSHOT-2025-12-01-a\LocalApp\Programs\Swift\Toolchains\0.0.0+Asserts\usr\bin\swift-frontend.exe+0x72967d0)
#10 0x00007ff94e6be8d7 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d7)
#11 0x00007ff94fe2c40c (C:\WINDOWS\SYSTEM32\ntdll.dll+0x8c40c)
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant