Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
doc: go:noinline directives in godoc #34276
In the docs for
This occurs in some internal packages as well, like
I don't think we should have godoc remove these comments, as that would be confusing when the function's doc is in fact intended to include such a comment. Similarly, I don't think a
Let's just fix the cases as @bcmills suggests, which is how it is supposed to be used anyhow.
Now that mid-stack inlining reports backtraces correctly, we no longer need to protect against inlining in a few critical areas. Update #19348 Update #28640 Update #34276 Change-Id: Ie68487e6482c3a9509ecf7ecbbd40fe43cee8381 Reviewed-on: https://go-review.googlesource.com/c/go/+/195818 Reviewed-by: David Chase <firstname.lastname@example.org>