using isKnownUniquelyReferenced seems to crash on C++ reference type #72676
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
c++ interop
Feature: Interoperability with C++
c++ to swift
Feature → c++ interop: c++ to swift
compiler
The Swift compiler in itself
crash
Bug: A crash, i.e., an abnormal termination of software
IRGen
LLVM IR generation
swift 5.10
Description
Code that uses isKnownUniquelyReferenced on C++ reference type (exposed via C++ interop) seems to cause crash
Reproduction
My attempt to create a simple repro results in unexpected link error, which could be a related bug.
Working on repro case.
Stack dump
Expected behavior
Compiler doesn't crash
Environment
swift-driver version: 1.90.11.1 Apple Swift version 5.10 (swiftlang-5.10.0.13 clang-1500.3.9.4)
Target: arm64-apple-macosx14.0
Additional information
No response
The text was updated successfully, but these errors were encountered: