Open tayloraswift opened 8 months ago
_StringProcessing
and Foundation
are broken even on the public
ACL:
$ swift symbolgraph-extract -module-name _StringProcessing -target x86_64-unknown-linux-gnu -minimum-access-level public -output-dir .testing/swift/artifacts -emit-extension-block-symbols -skip-inherited-docs
the crash seems to be related to -emit-extension-block-symbols
rather than -minimum-access-level internal
, as omitting that option also allows dumping the _Concurrency
symbol graph.
this crash is still taking place as of swift-6.0-DEVELOPMENT-SNAPSHOT-2024-07-24-a
Description
we have again lost the ability to dump the symbol graph for the standard library
Reproduction
Stack dump
Expected behavior
it worked in 5.9
Environment
Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613) Target: x86_64-unknown-linux-gnu
Additional information
the crash only occurs when using
-minimum-access-level internal
. this mode is required, even when the end goal is to only dump public symbols because of a separate issue where lib/SymbolGraphGen over-aggresively deletes nodes resulting in broken symbol graphs.