mirror of
https://github.com/go-delve/delve.git
synced 2025-11-02 12:59:01 +08:00
proc: support position independent executables (PIE)
Support for position independent executables (PIE) on the native linux backend, the gdbserver backend on linux and the core backend. Also implemented in the windows native backend, but it can't be tested because go doesn't support PIE on windows yet.
This commit is contained in:
@ -25,6 +25,6 @@ func BenchmarkParse(b *testing.B) {
|
||||
|
||||
b.ResetTimer()
|
||||
for i := 0; i < b.N; i++ {
|
||||
frame.Parse(data, binary.BigEndian)
|
||||
frame.Parse(data, binary.BigEndian, 0)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user