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

Link files with LLD #29

Open
4 tasks
thi8v opened this issue Jun 6, 2023 · 0 comments
Open
4 tasks

Link files with LLD #29

thi8v opened this issue Jun 6, 2023 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@thi8v
Copy link
Member

thi8v commented Jun 6, 2023

  • Create an lld library to interact with in rust and latter in Zom.
  • Link to those crates types bin, staticlib, lib, dylib.
  • Add an argument, stripped to strip a binary or a lib.
  • Create the zlib file format. That will contains all metadata, like function name, function full path, enum entries, structs fields and types of structs, everything. It will be used to compile Zom Library, it will be used as default to Zom libs. That will facilate the compiler job, and in particular the @Import(..) builtin function.

Questions
I don't know exactly if just use the metadata things provided by LLVM could do the job, or if I .zlib will be archive that contains the compiled code + metadata ?

@thi8v thi8v mentioned this issue Jun 6, 2023
13 tasks
@thi8v thi8v added the enhancement New feature or request label Jun 6, 2023
@thi8v thi8v added this to the 0.2.0 milestone Jun 6, 2023
@thi8v thi8v changed the title Link files with LLD in crate mona_link ?? Link files with LLD Jun 30, 2023
@thi8v thi8v modified the milestones: 0.2.0, 0.1.0 Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Pool of Ideas
Development

No branches or pull requests

1 participant