diff options
author | alx32 <103613512+alx32@users.noreply.github.com> | 2024-03-25 06:55:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-25 06:55:11 -0700 |
commit | e1a003dbbd016f57b349c87981bf210f8ec3e1e0 (patch) | |
tree | 04017c8b4820be7e761b83bcfd26586e0d30a9ae /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp | |
parent | e6f63a942a45e3545332cd9a43982a69a4d5667b (diff) | |
download | llvm-e1a003dbbd016f57b349c87981bf210f8ec3e1e0.zip llvm-e1a003dbbd016f57b349c87981bf210f8ec3e1e0.tar.gz llvm-e1a003dbbd016f57b349c87981bf210f8ec3e1e0.tar.bz2 |
[lld-macho][NFC] Refactor ObjCSelRefsSection => ObjCSelRefsHelper (#86456)
In a previous PR: https://github.com/llvm/llvm-project/pull/83878, the
intent was to make no functional changes, just refactor out the code for
reuse.
However, by creating `ObjCSelRefsSection` as a `SyntheticSection` - this
slightly changed the functionality of the application as the
`SyntheticSection` constructor registers the `SyntheticSection` as a
functional one - with an associated `SyntheticInputSection`.
With this change we remove this unintended consequence by making the
code not use a `SyntheticSection` as base, but just by having it be a
static helper.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions