Unverified Commit 6566ffdf authored by Kevin Frei's avatar Kevin Frei Committed by GitHub
Browse files

Clean up the GSym error aggregation code, and pass the aggregator by reference (#89688)



There was a problem with `llvm-gsymutil`s error aggregation code not
properly collecting aggregate errors. The was that the output aggregator
collecting errors from other threads wasn't being passed by reference,
so it was merging them into a copy of the app-wide output aggregator.

While I was at it, I added a better comment above the "Merge" code and
made it a bit more efficient, after learning more details about
`emplace` vs. `insert` or `operator[]` on `std::map`'s.

Co-authored-by: default avatarKevin Frei <freik@meta.com>
parent 1cb33713
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment