|
|
|
|
150
|
// addrInfo returns the stack frame information for a specific program
|
150
|
// addrInfo returns the stack frame information for a specific program
|
151
|
// address. It returns nil if the address could not be identified.
|
151
|
// address. It returns nil if the address could not be identified.
|
152
|
func (d *llvmSymbolizer) addrInfo(addr uint64) ([]plugin.Frame, error) {
|
152
|
func (d *llvmSymbolizer) addrInfo(addr uint64) ([]plugin.Frame, error) {
|
153
|
- if err := d.rw.write(fmt.Sprintf("%s %x", d.filename, addr-d.base)); err != nil {
|
|
|
|
|
153
|
+ if err := d.rw.write(fmt.Sprintf("%s 0x%x", d.filename, addr-d.base)); err != nil {
|
154
|
return nil, err
|
154
|
return nil, err
|
155
|
}
|
155
|
}
|
156
|
|
156
|
|