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

Method name

crates/asm-to-binary/src/assembler/section.rs:22–30  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

20 }
21
22 pub fn name(&self) -> &str {
23 match self {
24 Self::Text => ".text",
25 Self::Data => ".data",
26 Self::RoData => ".rodata",
27 Self::Bss => ".bss",
28 Self::Custom(s) => s.as_str(),
29 }
30 }
31
32 /// True for sections that hold executable machine code.
33 pub fn is_executable(&self) -> bool {

Callers 6

linkMethod · 0.45
build_module_section_mapFunction · 0.45
sections_iterMethod · 0.45
to_objectMethod · 0.45
encodeFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected