[all-commits] [llvm/llvm-project] d7e657: [lld/mac] Tweak reserve() argument in unwind code
Nico Weber via All-commits
all-commits at lists.llvm.org
Wed Jul 7 08:46:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d7e65757ed8f2dfe17b71cf169a3c83a155d1c2b
https://github.com/llvm/llvm-project/commit/d7e65757ed8f2dfe17b71cf169a3c83a155d1c2b
Author: Nico Weber <thakis at chromium.org>
Date: 2021-07-07 (Wed, 07 Jul 2021)
Changed paths:
M lld/MachO/UnwindInfoSection.cpp
Log Message:
-----------
[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.
More information about the All-commits
mailing list