Skip to content

Commit 2c80a9a

Browse files
committed
[ORC][MachO] Pluralize member name.
This member switched from an optional to a vector in 0f252e7.
1 parent 4c8714e commit 2c80a9a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/include/llvm/ExecutionEngine/Orc/MachOPlatform.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ class MachOPlatform : public Platform {
7878
/// List of LC_RPATHs.
7979
std::vector<std::string> RPaths;
8080
/// List of LC_BUILD_VERSIONs.
81-
std::vector<BuildVersionOpts> BuildVersion;
81+
std::vector<BuildVersionOpts> BuildVersions;
8282

8383
HeaderOptions() = default;
8484
HeaderOptions(Dylib D) : IDDylib(std::move(D)) {}

llvm/lib/ExecutionEngine/Orc/MachOPlatform.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1725,7 +1725,7 @@ jitlink::Block &createHeaderBlock(MachOPlatform &MOP,
17251725
else
17261726
B.template addLoadCommand<MachO::LC_ID_DYLIB>(JD.getName(), 0, 0, 0);
17271727

1728-
for (auto &BV : Opts.BuildVersion)
1728+
for (auto &BV : Opts.BuildVersions)
17291729
B.template addLoadCommand<MachO::LC_BUILD_VERSION>(
17301730
BV.Platform, BV.MinOS, BV.SDK, static_cast<uint32_t>(0));
17311731
for (auto &D : Opts.LoadDylibs)

0 commit comments

Comments
 (0)