MCPcopy Index your code
hub / github.com/TinyCC/tinycc / asm2cname

Function asm2cname

tccasm.c:66–84  ·  view source on GitHub ↗

If a C name has an _ prepended then only asm labels that start with _ are representable in C, by removing the first _. ASM names without _ at the beginning don't correspond to C names, but we use the global C symbol table to track ASM names as well, so we need to transform those into ones that don't conflict with a C name, so prepend a '.' for them, but force the ELF asm name to be

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

asm_label_findFunction · 0.85
asm_label_pushFunction · 0.85

Calls 2

get_tok_strFunction · 0.85
tok_alloc_constFunction · 0.85

Tested by

no test coverage detected