-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Miri: fix determining size of an "extra function" allocation #63076
Conversation
… and avoid rightwards drift
This comment has been minimized.
This comment has been minimized.
73d11f5
to
c119291
Compare
The function now locks the global map twice for gloabal non function pointer alloc IDs. Probably irrelevant perf wise though. |
@bors r+ |
📌 Commit c119291 has been approved by |
Indeed. It will only do the fn ptr lookup though for allocations that are not in the local |
I'm fine with it. We had that before my static cycle PR and I didn't see a perf improvement on that PR, so... |
@bors r=oli-obk |
📌 Commit 0e602f1 has been approved by |
…oli-obk Miri: fix determining size of an "extra function" allocation Fixes [a bug](rust-lang/miri#862) introduced by rust-lang#62982. Best reviewed commit-by-commit. r? @oli-obk
Rollup of 6 pull requests Successful merges: - #62809 (rustc: Update wasm32 support for LLVM 9) - #63055 (Various cleanups to save analysis) - #63076 (Miri: fix determining size of an "extra function" allocation) - #63077 (cleanup: Remove some language features related to built-in macros) - #63086 (Ignore test cases that are not supported by vxWorks) - #63092 (Update `impl Trait` gate issues) Failed merges: r? @ghost
Fixes a bug introduced by #62982. Best reviewed commit-by-commit.
r? @oli-obk