MCPcopy Create free account
hub / github.com/LPC4/Full-Stack / effective_link_layout

Method effective_link_layout

src/compilation_pipeline.rs:258–267  ·  view source on GitHub ↗

The effective link layout for the current configuration.

(&self)

Source from the content-addressed store, hash-verified

256 /// Effective load base address (shorthand for `effective_link_layout().load_base`).
257 pub fn effective_load_base(&self) -> u64 {
258 self.effective_link_layout().load_base
259 }
260
261 /// The effective entry-point symbol given the current configuration.
262 pub fn effective_entry_point(&self) -> &str {
263 if let Some(sym) = &self.entry_point {
264 sym.as_str()
265 } else {
266 match self.target_mode {
267 TargetMode::Hosted => "_start",
268 TargetMode::Freestanding => "kmain",
269 TargetMode::Kernel => "_kernel_start",
270 }

Callers 3

effective_load_baseMethod · 0.80
manifest_for_programMethod · 0.80

Calls 1

cloneMethod · 0.45

Tested by

no test coverage detected