summaryrefslogtreecommitdiff
path: root/libgo/go/net
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/net
parent7070a9f28245b3378b8e8eb36a61b1e6c30586ad (diff)
downloadgcc-a2fe6cb095bbd0d5fe68a33b1faa9f6e417a2401.tar.gz
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/net')
-rw-r--r--libgo/go/net/http/pprof/pprof.go1
-rw-r--r--libgo/go/net/ip_test.go1
2 files changed, 2 insertions, 0 deletions
diff --git a/libgo/go/net/http/pprof/pprof.go b/libgo/go/net/http/pprof/pprof.go
index 06fcde1447f..b8874f35d2f 100644
--- a/libgo/go/net/http/pprof/pprof.go
+++ b/libgo/go/net/http/pprof/pprof.go
@@ -35,6 +35,7 @@ package pprof
import (
"bufio"
"bytes"
+ _ "debug/elf"
"fmt"
"html/template"
"io"
diff --git a/libgo/go/net/ip_test.go b/libgo/go/net/ip_test.go
index df647ef73c0..d0e987b85f7 100644
--- a/libgo/go/net/ip_test.go
+++ b/libgo/go/net/ip_test.go
@@ -6,6 +6,7 @@ package net
import (
"bytes"
+ _ "debug/elf"
"reflect"
"runtime"
"testing"