Add scouts honor escape hatch for source embedding

This commit is contained in:
Justine Tunney committed 2020-06-15 19:01:28 -07:00
1 parent c91b3c5006
commit b4269930f7
547 files changed
+1516 -944

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
.initbss 800,_init_calloc
hook$calloc:
+1 -1
View File
@@ -19,7 +19,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
#include "libc/notice.inc"
.yoink __FILE__
.source __FILE__
/ Allocates n * itemsize bytes, initialized to zero.
/
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Frees memory the C++ way.
/
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
.initbss 800,_init_free
hook$free:
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Free memory returned by malloc() & co.
/
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Allocates memory the C++ way.
/
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
.initbss 800,_init_malloc
hook$malloc:
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Allocates uninitialized memory.
/
+1 -1
View File
@@ -19,7 +19,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
#include "libc/notice.inc"
.yoink __FILE__
.source __FILE__
/ Returns the number of bytes you can actually use in
/ an allocated chunk, which may be more than you requested
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Allocates aligned memory the C++ way.
/
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
.initbss 800,_init_memalign
hook$memalign:
+1 -1
View File
@@ -19,7 +19,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
#include "libc/notice.inc"
.yoink __FILE__
.source __FILE__
/ Allocates aligned memory.
/
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
/ Allocates aligned memory the POSIX way.
/
+1 -1
View File
@@ -19,7 +19,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
#include "libc/notice.inc"
.yoink __FILE__
.source __FILE__
/ Equivalent to valloc(minimum-page-that-holds(n)), that is,
/ round up n to nearest PAGESIZE.
+1 -1
View File
@@ -18,7 +18,7 @@
│ 02110-1301 USA │
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
.yoink __FILE__
.source __FILE__
.initbss 800,_init_realloc
hook$realloc:
+1 -1
View File
@@ -19,7 +19,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
#include "libc/notice.inc"
.yoink __FILE__
.source __FILE__
/ Allocates / resizes / frees memory, e.g.
/
+1 -1
View File
@@ -19,7 +19,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
#include "libc/notice.inc"
.yoink __FILE__
.source __FILE__
/ Resizes the space allocated for p to size n, only if this can be
/ done without moving p (i.e., only if there is adjacent space
+1 -1
View File
@@ -19,7 +19,7 @@
╚─────────────────────────────────────────────────────────────────────────────*/
#include "libc/macros.h"
#include "libc/notice.inc"
.yoink __FILE__
.source __FILE__
/ Equivalent to memalign(PAGESIZE, n).
/