aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachinePassManager.cpp
diff options
context:
space:
mode:
authorKevin Frei <kevinfrei@users.noreply.github.com>2024-04-29 17:00:19 -0700
committerGitHub <noreply@github.com>2024-04-29 17:00:19 -0700
commit6566ffdf8a543f50b75e9b3c66d771a3a9eb1560 (patch)
tree7d74a1b10a983f7ef57b3aa1b56736065090034d /llvm/lib/CodeGen/MachinePassManager.cpp
parent1cb33713910501c6352d0eb2a15b7a15e6e18695 (diff)
downloadllvm-6566ffdf8a543f50b75e9b3c66d771a3a9eb1560.zip
llvm-6566ffdf8a543f50b75e9b3c66d771a3a9eb1560.tar.gz
llvm-6566ffdf8a543f50b75e9b3c66d771a3a9eb1560.tar.bz2
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: Kevin Frei <freik@meta.com>
Diffstat (limited to 'llvm/lib/CodeGen/MachinePassManager.cpp')
0 files changed, 0 insertions, 0 deletions