forked from PLC-lang/rusty
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
first bit of lifting the GOT layout out of
generate_llvm_index
.
This bit takes care of passing the parameters properly and adding the required fields to the required structs. there is also the lifting of the "reading" of GOT layouts to the function calling `generate_module`. now we need to extract the generated new GOT layouts from the generated modules (?) and merge them together OR, which would be preferable, pass a mutex to the GotLayout with abstractions for adding a new index in it. NOTE: How to do that merge afterwards? How to access that mutex properly? NOTE: If we return a GeneratedModule and then collect those into a vector of GeneratedModule, we need to merge the GotLayouts at this point NOTE: ...which is why it probably makes more sense to go with the mutex, this way there is no got layout to return in GeneratedModule?
- Loading branch information
1 parent
e80995a
commit 6ec6d7f
Showing
8 changed files
with
138 additions
and
100 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
Oops, something went wrong.