swift icon indicating copy to clipboard operation
swift copied to clipboard

[cxx-interop] Fix compiler crash when importing non-public members with -g

Open j-hui opened this issue 9 months ago • 8 comments

Importing private members while the compiler is passed the -g flag causes an assertion to be tripped. This patch fixes it.

This PR is stacked on top of #80515, which introduces a new test case (without changing the compiler itself). This PR includes adds -g to that test case.

rdar://148481025

j-hui avatar Apr 03 '25 02:04 j-hui

@swift-ci please test

j-hui avatar Apr 03 '25 23:04 j-hui

@swift-ci please test

j-hui avatar Apr 03 '25 23:04 j-hui

@swift-ci please test

j-hui avatar Apr 04 '25 01:04 j-hui

@swift-ci please test

j-hui avatar Apr 04 '25 19:04 j-hui

@swift-ci please test

j-hui avatar Apr 09 '25 00:04 j-hui

@swift-ci please smoke test

j-hui avatar Apr 09 '25 18:04 j-hui

@swift-ci please smoke test

j-hui avatar Apr 09 '25 20:04 j-hui

@swift-ci please test

j-hui avatar Apr 09 '25 22:04 j-hui