summaryrefslogtreecommitdiffstats
path: root/libgo/go/runtime/debug
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-07 01:16:20 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2012-03-07 01:16:20 +0000
commita2fe6cb095bbd0d5fe68a33b1faa9f6e417a2401 (patch)
tree28d4e50a31f7428050763b36e3c7bbdeeb541a0f /libgo/go/runtime/debug
parent7070a9f28245b3378b8e8eb36a61b1e6c30586ad (diff)
downloadppe42-gcc-a2fe6cb095bbd0d5fe68a33b1faa9f6e417a2401.tar.gz
ppe42-gcc-a2fe6cb095bbd0d5fe68a33b1faa9f6e417a2401.zip
libgo: Implement and use runtime.Caller, runtime.Func.FileLine.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185025 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/go/runtime/debug')
-rw-r--r--libgo/go/runtime/debug/stack.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgo/go/runtime/debug/stack.go b/libgo/go/runtime/debug/stack.go
index a533a5c3bf4..fc74e537b75 100644
--- a/libgo/go/runtime/debug/stack.go
+++ b/libgo/go/runtime/debug/stack.go
@@ -8,6 +8,7 @@ package debug
import (
"bytes"
+ _ "debug/elf"
"fmt"
"io/ioutil"
"os"
OpenPOWER on IntegriCloud