Skip to content

Commit

Permalink
[SOL] Update references to solana-labs redirecting them to anza-xyz
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov committed Feb 22, 2024
1 parent 7416428 commit 9003b43
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# The LLVM Compiler Infrastructure modified to support Berkley Packet Filter modules written in Rust

This fork of LLVM is used by [this fork of Rust](https://github.com/solana-labs/rust)
This fork of LLVM is used by [this fork of Rust](https://github.com/anza-xyz/rust)

---

Expand Down
2 changes: 1 addition & 1 deletion lld/ELF/Arch/BPF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ RelType BPF::getDynRel(RelType type) const {
// the symbol isn't preemptible, we emit a _RELATIVE relocation instead
// and skip emitting the symbol.
//
// See https://github.com/solana-labs/llvm-project/blob/6b6aef5dbacef31a3c7b3a54f7f1ba54cafc7077/lld/ELF/Relocations.cpp#L1179
// See https://github.com/anza-xyz/llvm-project/blob/6b6aef5dbacef31a3c7b3a54f7f1ba54cafc7077/lld/ELF/Relocations.cpp#L1179
return R_BPF_64_64;
default:
return type;
Expand Down
2 changes: 1 addition & 1 deletion lld/ELF/Arch/SBF.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ RelType SBF::getDynRel(RelType type) const {
// the symbol isn't preemptible, we emit a _RELATIVE relocation instead
// and skip emitting the symbol.
//
// See https://github.com/solana-labs/llvm-project/blob/6b6aef5dbacef31a3c7b3a54f7f1ba54cafc7077/lld/ELF/Relocations.cpp#L1179
// See https://github.com/anza-xyz/llvm-project/blob/6b6aef5dbacef31a3c7b3a54f7f1ba54cafc7077/lld/ELF/Relocations.cpp#L1179
return R_SBF_64_64;
default:
return type;
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Target/BPF/BPFAsmPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ bool BPFAsmPrinter::doInitialization(Module &M) {
AsmPrinter::doInitialization(M);

// Only emit BTF when debuginfo available.
// Unsupported for Solana: https://github.com/solana-labs/llvm-project/issues/37
// Unsupported for Solana: https://github.com/anza-xyz/llvm-project/issues/37
if (MAI->doesSupportDebugInformation() && !M.debug_compile_units().empty() &&
!TM.getMCSubtargetInfo()->hasFeature(BPF::FeatureSolana) && TM.getTargetTriple().getArch() != Triple::sbf) {
BTF = new BTFDebug(this);
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Target/SBF/SBFAsmPrinter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ bool SBFAsmPrinter::doInitialization(Module &M) {

// Only emit BTF when debuginfo available.
// Unsupported for Solana:
// https://github.com/solana-labs/llvm-project/issues/37
// https://github.com/anza-xyz/llvm-project/issues/37
if (MAI->doesSupportDebugInformation() && !M.debug_compile_units().empty() &&
SBFEnableBTFEmission) {
BTF = new BTFX::BTFDebug(this);
Expand Down
2 changes: 1 addition & 1 deletion llvm/test/CodeGen/SBF/pqr-class.ll
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,4 @@ attributes #0 = { mustprogress nofree norecurse nosync nounwind willreturn memor

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 7, !"frame-pointer", i32 2}
!2 = !{!"clang version 16.0.5 (https://github.com/solana-labs/llvm-project.git abdbb6e4ef63f7b5b4ee40d2770ed0fca909c2dc)"}
!2 = !{!"clang version 16.0.5 (https://github.com/anza-xyz/llvm-project.git abdbb6e4ef63f7b5b4ee40d2770ed0fca909c2dc)"}

0 comments on commit 9003b43

Please sign in to comment.