-
Keith Randall authored
When functions are inlined, for instructions in the inlined body, does -S print the location of the call, or the location of the body? Right now, we do the former. I'd like to do the latter by default, it makes much more sense when reading disassembly. With mid-stack inlining enabled in more cases, this quandry will come up more often. The original behavior is still available with -S=2. Some tests use this mode (so they can find assembly generated by a particular source line). This helped me with understanding what the compiler was doing while fixing #29007. Change-Id: Id14a3a41e1b18901e7c5e460aa4caf6d940ed064 Reviewed-on: https://go-review.googlesource.com/c/153241Reviewed-by: David Chase <drchase@google.com>
01a1eaa1
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
arm | ||
arm64 | ||
mips | ||
ppc64 | ||
s390x | ||
wasm | ||
x86 | ||
abi_string.go | ||
addrtype_string.go | ||
bootstrap.go | ||
data.go | ||
go.go | ||
inl.go | ||
ld.go | ||
line.go | ||
line_test.go | ||
link.go | ||
objfile.go | ||
pass.go | ||
pcln.go | ||
plist.go | ||
sizeof_test.go | ||
sort.go | ||
stringer.go | ||
sym.go | ||
textflag.go | ||
util.go |