Closed blackgeorge-boom closed 1 year ago
Probably, one of the functions in main
, is not lowered properly in the stackmaps:
...
OLDEN_TIME(total_stop);
chatting("olden: total time (in ms): %f\n",
OLDEN_DURATION_MS(total_start, total_stop));
exit(0);
}
I think we had a problem with exit()
in NPB also, so it makes sense to fix this issue.
Maybe just open a low-priority issue and record this (if we haven't already) and replace it with a return 0
?
At a low level I know that an exit
call creates an unreachable path following it in LLVM code; not sure if this relates to stackmaps, but maybe it is relevant
Indeed, I think I've seen the unreachable path in LLVM IR! Ok, I'll have a brief look, otherwise, I'll replace it with return 0
or something.