-
Notifications
You must be signed in to change notification settings - Fork 14.2k
[lld-macho] Qualify Reloc with macho namespace (NFC) #141692
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
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.
@llvm/pr-subscribers-lld-macho @llvm/pr-subscribers-lld Author: Teresa Johnson (teresajohnson) ChangesWith an upcoming change to llvm/ProfileData headers, this file ends up Full diff: https://github.com/llvm/llvm-project/pull/141692.diff 1 Files Affected:
diff --git a/lld/MachO/BPSectionOrderer.cpp b/lld/MachO/BPSectionOrderer.cpp
index ca273f7f798dc..6c13a5557e103 100644
--- a/lld/MachO/BPSectionOrderer.cpp
+++ b/lld/MachO/BPSectionOrderer.cpp
@@ -84,7 +84,7 @@ struct BPOrdererMachO : lld::BPOrderer<BPOrdererMachO> {
private:
static uint64_t
- getRelocHash(const Reloc &reloc,
+ getRelocHash(const macho::Reloc &reloc,
const llvm::DenseMap<const void *, uint64_t> §ionToIdx) {
auto *isec = reloc.getReferentInputSection();
std::optional<uint64_t> sectionIdx;
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/190/builds/20695 Here is the relevant piece of the build log for the reference
|
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.
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.