Skip to content

[lldb] Pass important options to dsymForUUID (#72669) #7821

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

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

JDevlieghere
Copy link

On macOS, we usually use the DebugSymbols framework to find dSYMs, but
we have a few places (including crashlog.py) that calls out directly to
dsymForUUID. Currently, this invocation is missing two important
options:

  • --ignoreNegativeCache: Poor network connectivity or lack of VPN can
    lead to a negative cache hit. Avoiding those issues is worth the penalty
    of skipping these caches.
  • --copyExecutable: Ensure we copy the executable as it might not be
    available at its original location.

rdar://118480731
(cherry picked from commit ec6a34e)

On macOS, we usually use the DebugSymbols framework to find dSYMs, but
we have a few places (including crashlog.py) that calls out directly to
dsymForUUID. Currently, this invocation is missing two important
options:

* `--ignoreNegativeCache`: Poor network connectivity or lack of VPN can
lead to a negative cache hit. Avoiding those issues is worth the penalty
of skipping these caches.
* `--copyExecutable`: Ensure we copy the executable as it might not be
available at its original location.

rdar://118480731
(cherry picked from commit ec6a34e)
@JDevlieghere
Copy link
Author

@swift-ci please test

@JDevlieghere
Copy link
Author

@swift-ci please test windows

1 similar comment
@JDevlieghere
Copy link
Author

@swift-ci please test windows

@JDevlieghere JDevlieghere merged commit 92a99c4 into swift/release/5.10 Dec 1, 2023
@JDevlieghere JDevlieghere deleted the cherrypick/5.10/ec6a34e2a781 branch December 1, 2023 23:34
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.

1 participant