Skip to content

Commit 892bfa9

Browse files
[lld-macho] Qualify Reloc with macho namespace (NFC) (#141692)
With an upcoming change to llvm/ProfileData headers, this file ends up with both llvm::Reloc in scope as well as the lld::macho::Reloc type intended for use here. Qualify the use in this file with the intended namespace to avoid compilation errors.
1 parent ead27e6 commit 892bfa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/MachO/BPSectionOrderer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ struct BPOrdererMachO : lld::BPOrderer<BPOrdererMachO> {
8484

8585
private:
8686
static uint64_t
87-
getRelocHash(const Reloc &reloc,
87+
getRelocHash(const macho::Reloc &reloc,
8888
const llvm::DenseMap<const void *, uint64_t> &sectionToIdx) {
8989
auto *isec = reloc.getReferentInputSection();
9090
std::optional<uint64_t> sectionIdx;

0 commit comments

Comments
 (0)