-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[DebugInfo][NFC] Move ObjC Selector name handling to lib DebugInfo
The DWARFLinker library has code to identify ObjC selector names, which is used by the debug linker to generate accelerator table entries. In the future, we would like the DWARF verifier to also have access to such code, so that it can identify these names when verifying accelerator tables (e.g. debug_names). This patch follows the same intent of D155723, where we also moved code generating simplified template names. Since this is moving code around and changing the log, we also replace raw pointer manipulation with the more expressive StringRef::{drop_front,take_front,...} methods. We also change a test so that it verifies its output, and that requires having dsymutil not write to stdout. Differential Revision: https://reviews.llvm.org/D158980
- Loading branch information
1 parent
7bac682
commit f5fc8b6
Showing
4 changed files
with
69 additions
and
42 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
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
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
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