Avoids spurious newlines showing up in the output when emitting assembly
via MC.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Rebase over https://reviews.llvm.org/D92084
I think I need some input on how best to handle this. I'm not particularly
happy with what I have right now, but after spending some time trying to do
better and not making much progress I thought I would ask if anyone else has a
better idea.
I'd have reverted to using IDLoc because the error message is clear enough.
I'm sorry that my change caused such trouble.
The better is the enemy of the good :-)
That makes sense to me, I probably should have asked first :^)
I also realized after having slept on it that my current patch doesn't work for any non-ascii input anyway.
I will just revert that part of your earlier change and put up a review for it separately, then this patch should rebase cleanly.
Rebase the original version of the patch again; this is the same diff that was
approved already, so I am going to just go ahead and commit it. If anyone has
any objections I can open another review to address them.