Skip to content
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

[SOL] Update references to solana-labs redirecting them to anza-xyz #88

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)"}
Loading