Skip to content

Commit fbdff35

Browse files
committed
runtime: print memory map to stderr
1 parent 0dd6fb4 commit fbdff35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/core/Utils.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
void alaska_dump_backtrace() {
1919
FILE *stream = fopen("/proc/self/maps", "r");
2020

21-
alaska::printf("Memory Map:\n");
21+
fprintf(stderr, "Memory Map:\n");
2222
char line[1024];
2323
while (fgets(line, sizeof(line), stream) != NULL) {
2424
fwrite(line, strlen(line), 1, stderr);

0 commit comments

Comments
 (0)