I recently have been reading to understand how race runtime is implemented 
in Go. In the process of doing so, I stumbled upon tsan_platform.h 
<https://github.com/llvm-mirror/compiler-rt/blob/master/lib/tsan/rtl/tsan_platform.h>
 of 
llvm. This file contains memory layout of Go programs on different 
architectures. I was curious as to how this memory layout was obtained, was 
it mentioned somewhere in the Go repository? Or was it somehow implicit in 
the code? Basically, if there was no tsan_platform.h and I had to 
understand how I can infer this memory layout, how do I go about it?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/2678d5bb-7f00-46d7-a025-7ed0c3a9ef1an%40googlegroups.com.

Reply via email to