Skip to content

Conversation

tempdragon
Copy link

It's necessary for a minimal modification to the file in order to support native locations of libgccjit.
e.g. The support of cg_gcc for operators, in builder.rs, implemented using a version using the binary operator * , which hard coded the location to be NULL. This must be filled by this set_location();
e.g. It may be necessary to set location for locals introduced by cg_ssa, which seems to be stored by DebugInfoBuilderMethods::dbg_var_addr. To save the location of the rvalue, we need a set_location().

@tempdragon
Copy link
Author

See also: rust-lang/rustc_codegen_gcc#69

@tempdragon
Copy link
Author

Requires rust-lang/gcc#42

@antoyo
Copy link

antoyo commented Feb 23, 2024

The CI should now be fixed. Please rebase to have the fix.

@antoyo antoyo merged commit af31863 into rust-lang:master Feb 28, 2024
@antoyo
Copy link

antoyo commented Feb 28, 2024

Thanks for your contribution!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants