-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lldb] Don't persist the LINKEDIT slide in the indirect symbol offset
The current code increment the indirect symbol offset with the LINKEDIT slide every time ObjectFileMachO::ParseSymtab is called. This resulted in a crash when calling add-dsym which causes us to potentially re-parse the original binary's symbol table. There's a separate question about whether we should re-parse the symbol table at all which was fixed by D114288. Regardless, copying the load command is cheap enough that this is still the right thing to do. rdar://72337717 Differential revision: https://reviews.llvm.org/D122349
- Loading branch information
1 parent
316f9fd
commit b0dc2fa
Showing
1 changed file
with
8 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters