aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorSterling Augustine <saugustine@google.com>2020-03-06 15:59:16 -0800
committerSterling Augustine <saugustine@google.com>2020-03-10 10:35:15 -0700
commitd67cf7a0a970df6e69db437514bf61a2ab283e67 (patch)
tree52623576a303b53283640a7fa697f989f2aef6a3 /clang/lib/Serialization/ModuleManager.cpp
parent5d3d84b5cd4bd6bfbc27e3e4133842fe65ec9593 (diff)
downloadllvm-d67cf7a0a970df6e69db437514bf61a2ab283e67.zip
llvm-d67cf7a0a970df6e69db437514bf61a2ab283e67.tar.gz
llvm-d67cf7a0a970df6e69db437514bf61a2ab283e67.tar.bz2
Rework findUnwindSectionsByPhdr to be more optimal.
Summary: - Executable segment is usually segment 3. Look there for the address first. - GNU_EH_FRAME_HEADER segment is usually near the end. Iterate from the end. - Exit early if both phdrs have been found. This is the last cl before a patch to cache the information this function finds. Subscribers: libcxx-commits Tags: #libc Differential Revision: https://reviews.llvm.org/D75781
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions