It speedups the race detector somewhat, but also prevents
getcallerpc() from obtaining lessstack().
R=golang-dev, iant
CC=golang-dev
https://golang.org/cl/
6812091
}
// Called from instrumented code.
+// If we split stack, getcallerpc() can return runtime·lessstack().
+#pragma textflag 7
void
runtime·racewrite(uintptr addr)
{
}
// Called from instrumented code.
+// If we split stack, getcallerpc() can return runtime·lessstack().
+#pragma textflag 7
void
runtime·raceread(uintptr addr)
{
}
// Called from instrumented code.
+#pragma textflag 7
void
runtime·racefuncenter(uintptr pc)
{
}
// Called from instrumented code.
+#pragma textflag 7
void
runtime·racefuncexit(void)
{