Swift symbols have dollar signs in them, so splitting on this
incorrectly resulted in a bunch of symbols just with the name _ being
considered, and extra info ignored. Currently we don't do anything with
these symbol names besides check that they're non-empty, so this doesn't
impact that, but I believe we need to start handling these:
Details
- Reviewers
- None
- Group Reviewers
Restricted Project
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
I don't think we can until we're actually doing something in the case the symbol is non-empty, which will require some more changes
Hm so is this actually fixing the handling of these symbols, or just raising an assertion error when we encounter them?
Just raising an assertion in the case we hit some that we don't expect. I started looking at actually handling them but I don't think the changes will be very trivial, so I just filed https://github.com/llvm/llvm-project/issues/56074 until I have time
The rsplit() is correct. I don't think the assert adds a ton of value.
Not sure it makes sense to land this without the rest of previous + sym handling as it can't be tested before then.
I have half a patch for that locally, so maybe just wait a few days?
@keith gotcha. I think the commit message / title is confusing since this isn't an actual fix
no strong pref, i just figure this format shouldn't ever really change so it might be safer this way to avoid future breakages.
Not sure it makes sense to land this without the rest of previous + sym handling as it can't be tested before then.
I have half a patch for that locally, so maybe just wait a few days?
yea sounds fine, i just wanted to upload this asap in case someone did want to look into that issue before i did so they wouldn't have to re-fix this bug