Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

demumble swift symbols as well #34

Merged
merged 7 commits into from
Aug 5, 2024
Merged

demumble swift symbols as well #34

merged 7 commits into from
Aug 5, 2024

Conversation

nico
Copy link
Owner

@nico nico commented Aug 4, 2024

Fixes #32.

A bit of a mess since swift's demangler is much less hermetic than LLVM's.

@nico
Copy link
Owner Author

nico commented Aug 4, 2024

…looks like nobody ever tried building swift with gcc??

Builds fine and seems to work with clang locally.

@nico nico force-pushed the swift branch 2 times, most recently from b74807a to 522cce5 Compare August 5, 2024 11:32
nico added 7 commits August 5, 2024 11:44
LLVM at 3a4c7cc56c07b2db
Swift at a894dd277544b
Fixes:

    third_party/swift/include/swift/Demangling/Demangler.h:228:11:
      error: declaration of ‘swift::Demangle::NodeFactory::Slab* swift::Demangle::NodeFactory::Checkpoint::Slab’
             changes meaning of ‘Slab’ [-fpermissive]
      228 |     Slab *Slab;
          |           ^~~~
    third_party/swift/include/swift/Demangling/Demangler.h:47:10:
      note: ‘Slab’ declared here as ‘struct swift::Demangle::NodeFactory::Slab’
       47 |   struct Slab {
          |          ^~~~

Cherry-picks swiftlang/swift#75682
@nico nico merged commit b300620 into main Aug 5, 2024
3 checks passed
@nico nico deleted the swift branch August 5, 2024 18:46
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.

[FR} Swift demumble-ing
1 participant