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

LLDB doesn't import C-dependent package unless debug symbols are present #59569

Closed
philipturner opened this issue Jun 18, 2022 · 0 comments
Closed
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.

Comments

@philipturner
Copy link
Contributor

Describe the bug

When using a package on Swift-Colab with the build flags -c release -Xswiftc -Onone, there is an inconsistent and worsening problem with loading Swift modules into LLDB. You have to restart the runtime and re-install the packages, sometimes multiple times, to make it load. This isn't that bad of an issue, because each re-install utilizes cached build products and takes only 1 second. But it is a bug.

I suspect that this is not a fault of Swift-Colab, but rather a fault of the Swift compiler, SwiftPM, or LLDB. Due to the bug's nature, it will be difficult to narrow down. Please read through conversation on philipturner/swift-colab#15 for the full details on this bug.

Environment (please complete the following information):

  • OS: Ubuntu 18.04, x86_64 (Google Colab)
  • First affected S4TF: 2021-11-12 nightly snapshot
  • First affected SwiftPlot: 2021-12-23 nightly snapshot
@philipturner philipturner added the bug A deviation from expected or documented behavior. Also: expected but undesirable behavior. label Jun 18, 2022
@philipturner philipturner changed the title Won't import C-dependent package into LLDB unless debug symbols are present LLDB doesn't import C-dependent package unless debug symbols are present Jun 18, 2022
@philipturner philipturner closed this as not planned Won't fix, can't repro, duplicate, stale Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A deviation from expected or documented behavior. Also: expected but undesirable behavior.
Projects
None yet
Development

No branches or pull requests

1 participant