Fixes Bug 41904 https://bugs.llvm.org/show_bug.cgi?id=41904
Re-land r362768 after it was reverted in r362826.
Differential D62275
[llvm-objdump] Add warning if --disassemble-functions specifies an unknown symbol mmpozulp on May 22 2019, 5:06 PM. Authored by
Details
Fixes Bug 41904 https://bugs.llvm.org/show_bug.cgi?id=41904 Re-land r362768 after it was reverted in r362826.
Diff Detail
Event TimelineComment Actions I've taken a bit of a heavy-hammer approach here. In order to use set_difference() on StringSet I had to extend the StringMap and StringSet APIs. Are the downsides of having a bigger API warranted by the ability to use set_difference() on StringSet? If so, I can break it out into a different patch. An alternative would be to write this patch without calling set_difference(), but that imposes some code duplication. Comment Actions I like what you're doing, and I think having count and insert operations on a StringSet make a lot of sense from a somewhat naive perspective, but I think those should be in a separate change, with unit tests and with reviewers who know that class better than I do. You can cite this review in that one for the motivation (also citing that it makes it more STL-like). I've added a few more reviewers, partly because I'm away all of next week.
Comment Actions Incorporate feedback from @jhenderson, including moving ADT changes (which must land before this patch) to a separate patch https://reviews.llvm.org/D62369 Comment Actions Looks good, apart from one small question. I'm away after the end of the day, so you'll need to get someone else to land this for you. Alternatively, request commit access as documented here: https://llvm.org/docs/DeveloperPolicy.html#obtaining-commit-access FYI, you can also mark patches as requiring committing before or after other patches by using the "edit related objects" button.
Comment Actions Thanks, LGTM. Did you already commit this? If so, could you post a link to the revision that you committed? If not, so that you know, you didn't need to wait for another LGTM, since I already gave you one which you addressed.
|
Nit: missing trailing full stop.