[lld/mac] Tweak reserve() argument in unwind code
authorNico Weber <thakis@chromium.org>
Wed, 7 Jul 2021 15:44:22 +0000 (11:44 -0400)
committerNico Weber <thakis@chromium.org>
Wed, 7 Jul 2021 15:44:22 +0000 (11:44 -0400)
commitd7e65757ed8f2dfe17b71cf169a3c83a155d1c2b
tree411ae7bbc1cef62ce07e4d285739433adf957352
parentd8fc4e9c0d697b0a3569c2652a2eff284c4d38c8
[lld/mac] Tweak reserve() argument in unwind code

addEntriesForFunctionsWithoutUnwindInfo() can add entries to cuVector, so
cuCount can be stale. Use cuVector.size() instead.

No behavior change.
lld/MachO/UnwindInfoSection.cpp