mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-31 09:42:27 +00:00
Add scouts honor escape hatch for source embedding
This commit is contained in:
parent
c91b3c5006
commit
b4269930f7
547 changed files with 1516 additions and 944 deletions
|
@ -87,6 +87,17 @@
|
|||
ret
|
||||
.endm
|
||||
|
||||
/ Pulls source code file into ZIP portion of binary.
|
||||
/
|
||||
/ @param symbol is quoted path relative to root e.g. __FILE__
|
||||
/ @see see libc/zipos/zipcentraldir.S
|
||||
/ @see see libc/integral/c.inc
|
||||
.macro .source symbol:req
|
||||
#ifndef IM_FEELING_NAUGHTY
|
||||
.yoink "\symbol"
|
||||
#endif
|
||||
.endm
|
||||
|
||||
/ Inserts profiling hook in prologue if cc wants it.
|
||||
/
|
||||
/ Cosmopolitan does this in a slightly different way from normal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue