LLVM-RTDYLD(1)

πŸ“¦
version 16.0.6 Β· 2 versions
, in ubuntu noble

πŸ’– NAME πŸ’–

llvm-rtdyld β€” bestie, it's literally the manual page for llvm-rtdyld 16. that's it, that's the name section, slay ✨


🌸 DESCRIPTION 🌸

okay so. OVERVIEW: it's the llvm MC-JIT tool πŸ’… like, the whole vibe is: you hand it some object files, it loads them, links them, and runs them in memory. main character energy fr.

USAGE: here's how you call it, copy it exactly bestie:

llvm-rtdyld [options] <input files> --args <program arguments>...

and then we get into the good stuff β€” the options πŸŽ€


✨ OPTIONS ✨

🎨 Color Options

  • --color β€” use colors in output. the default is autodetect, so it'll figure out the vibe check on its own. 🌈

🧚 Generic Options

  • --help β€” display available options. and if you want the deep lore, there's --help-hidden for more πŸ‘€
  • --help-list β€” display a list of available options. same deal: --help-list-hidden exists for more πŸ™ˆ
  • --version β€” display the version of this program. classic. iconic. periodt. ⭐

πŸ› οΈ RTDyld Options

  • --args <string>... β€” <program arguments>... β€” yeah it just passes those along, ok? πŸ“
  • --check=<string> β€” file containing RuntimeDyld verifier checks. πŸ”₯
  • --dylib=<string> β€” add library. short, sweet, no cap. πŸ’œ
  • --entry=<string> β€” the function to call as entry point. your lil starting line ✨
  • --mcpu=<cpu-name> β€” target a specific cpu type. not sure which cpu?? run -mcpu=help for details, bestie πŸ¦‹
  • --preallocate=<ulong> β€” allocate memory upfront rather than on-demand. it's giving "prepared" πŸ’…
  • --show-times β€” show times for llvm-rtdyld phases. clock in, clock out ⏰
  • --triple=<string> β€” target triple for disassembler. πŸ‘‘

🎯 Action to perform

pick your moment, choose your fighter:

  • --execute β€” load, link, and execute the inputs. go time πŸ”₯
  • --printline β€” load, link, and print line information for each function. πŸ“
  • --printdebugline β€” load, link, and print line information for each function, but using the debug object πŸ›
  • --printobjline β€” like -printlineinfo but does not load the object first 🫢
  • --verify β€” load, link and verify the resulting memory image. trust but verify, fr fr βœ…

ngl bestie, that's the whole page. every flag, every default, nothing skipped. you're so welcome πŸ’–

kisses, this was llvm-rtdyld 16, written down in April 2024. go forth and JIT responsibly, mwah πŸŽ€πŸ’œ

πŸ“¦ where this page comes from