forked from rust-lang/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 39
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
Rebase to upstream #67
Merged
dmakarov
merged 81 commits into
anza-xyz:solana-rustc/16.0-2023-06-05
from
dmakarov:solana-rustc/16.0-2023-06-05
Oct 18, 2023
Merged
Rebase to upstream #67
dmakarov
merged 81 commits into
anza-xyz:solana-rustc/16.0-2023-06-05
from
dmakarov:solana-rustc/16.0-2023-06-05
Oct 18, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* [BPF] Make rust allocation builtins unavailable for BPF target - the calls to rust alloc/dealloc routines need to be preserved and not replaced by compiler generated builtin inlined code
* [SOL][BPF] Adjust BPF tests * [SOL][BPF] Improve reporting of stack size is too large - issue only one warning for each function - report the function location if debug information is available
Co-authored-by: Jack May <[email protected]>
* [SOL] Make lld thread-safe with llvm when used in-process Every time Solang tries to link a web-assembly file in-process, the linker re-inits llvm which is not thread-safe with the rest of solang. Signed-off-by: Sean Young <[email protected]> * [SOL][BPF] Enable the _ExtInt extension on the BPF Target for Solana Signed-off-by: Sean Young <[email protected]>
Solana extends BPF so that structs type information is not fully supported in BTF. This leads to ICE crashes and some unsupported relocations being emitted in binary files that linker errors on. For, now the debug information is simply disabled when compiling for Solana to avoid the errors in Debug builds.
Signed-off-by: Lucas Steuernagel <[email protected]>
BTF/CO-RE has been disabled for Solana since: #37 This patch updates related code (and all applicable unit tests) from roughly a year of bitrot. This is in preparation for its possible use in the Move project. Additionally, a few other 14.0.2022-03-02 -> 15.0-2022-08-09 BPF patches were reflected in the SBF back-end (e.g., bugfixes).
EM_SBF files are only accepted by new ELF parser of the RBPF.
Because of a bug in BPF backend ABS64 relocations are incorrectly generated as 64_64 relocations in BPF object files. This temporary works around this for relocations in .debug section to generate debug information addresses correctly.
dmakarov
force-pushed
the
solana-rustc/16.0-2023-06-05
branch
12 times, most recently
from
September 15, 2023 17:46
0322a67
to
fb51e83
Compare
dmakarov
force-pushed
the
solana-rustc/16.0-2023-06-05
branch
2 times, most recently
from
September 15, 2023 21:20
c7f3edc
to
8c0328f
Compare
dmakarov
force-pushed
the
solana-rustc/16.0-2023-06-05
branch
from
September 28, 2023 15:33
8c0328f
to
4a75868
Compare
dmakarov
force-pushed
the
solana-rustc/16.0-2023-06-05
branch
from
September 28, 2023 21:46
4a75868
to
a84a76e
Compare
This change rust-lang@ab4fc87 breaks compilation of compiler-rt library for BPF and SBF targets. For now disabling it.
dmakarov
force-pushed
the
solana-rustc/16.0-2023-06-05
branch
from
October 18, 2023 21:48
a84a76e
to
038d472
Compare
dmakarov
merged commit Oct 18, 2023
038d472
into
anza-xyz:solana-rustc/16.0-2023-06-05
12 of 13 checks passed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.