delve/pkg/proc/linutil
Alessandro Arzilli a6685247e0
proc/native: correctly read g address on linux/arm64 (#2343)
When cgo is used the address of the g struct is saved on the special
register TPIDR_EL0. Because executing C code could overwrite the
contents of R28 that normally contains the address of g we should read
it from TPIDR_EL0 instead when runtime.iscgo is set.
2021-02-23 12:38:52 -08:00
..
auxv.go pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00
doc.go proc: support position independent executables (PIE) 2018-10-11 11:21:27 -07:00
dynamic.go proc/*: remove proc.Thread.Blocked, refactor memory access (#2206) 2020-11-09 11:28:40 -08:00
regs_amd64_arch.go proc: use CPUID to determine maximum size of XSAVE area (#2256) 2020-12-14 09:39:01 -08:00
regs_arm64_arch.go proc/native: correctly read g address on linux/arm64 (#2343) 2021-02-23 12:38:52 -08:00
regs_i386_arch.go proc: use CPUID to determine maximum size of XSAVE area (#2256) 2020-12-14 09:39:01 -08:00
regs_test.go pkg/proc,service: support linux/386 (#1884) 2020-03-10 09:34:40 -07:00