mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-02-07 06:53:33 +00:00
Fix a bug in example code
This commit is contained in:
parent
1029dcc597
commit
0ed916ad5c
2 changed files with 3 additions and 3 deletions
|
@ -7,9 +7,8 @@
|
|||
│ • http://creativecommons.org/publicdomain/zero/1.0/ │
|
||||
╚─────────────────────────────────────────────────────────────────*/
|
||||
#endif
|
||||
#include "libc/calls/calls.h"
|
||||
#include "libc/math.h"
|
||||
#include "libc/runtime/runtime.h"
|
||||
#include <cosmo.h>
|
||||
#include <math.h>
|
||||
|
||||
void crash(long x0, long x1, long x2, //
|
||||
double v0, double v1, double v2) {
|
||||
|
|
|
@ -33,6 +33,7 @@ __static_yoink("__die"); // for backtracing
|
|||
__static_yoink("ShowBacktrace"); // for backtracing
|
||||
__static_yoink("GetSymbolTable"); // for backtracing
|
||||
__static_yoink("PrintBacktraceUsingSymbols"); // for backtracing
|
||||
__static_yoink("__demangle"); // for pretty c++ symbols
|
||||
__static_yoink("malloc_inspect_all"); // for asan memory origin
|
||||
__static_yoink("GetSymbolByAddr"); // for asan memory origin
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue