diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-12-29 00:07:06 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-12-29 00:07:06 +0000 |
commit | e20bfbd18e64b8ab9428aa518b5d7b74a73461d9 (patch) | |
tree | a5200fb4bd7b40981b58590f089defa85c251512 /gcc | |
parent | 50bec22834e0b147fca92bea80501bccc309ce4d (diff) | |
download | gcc-e20bfbd18e64b8ab9428aa518b5d7b74a73461d9.zip gcc-e20bfbd18e64b8ab9428aa518b5d7b74a73461d9.tar.gz gcc-e20bfbd18e64b8ab9428aa518b5d7b74a73461d9.tar.bz2 |
runtime: prevent deadlock when profiling signal arrives in stack scan
Precise stack scan needs to unwind the stack. When it is
unwinding the stack, if a profiling signal arrives, which also
does a traceback, it may deadlock in dl_iterate_phdr. Prevent
this deadlock by setting up runtime_in_callers before traceback.
Reviewed-on: https://go-review.googlesource.com/c/155766
From-SVN: r267457
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/go/gofrontend/MERGE | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/go/gofrontend/MERGE b/gcc/go/gofrontend/MERGE index 2552025..a36396c 100644 --- a/gcc/go/gofrontend/MERGE +++ b/gcc/go/gofrontend/MERGE @@ -1,4 +1,4 @@ -d9a30434440469c640a120fe7132057f5644d38c +0e482bef69d73b9381dbc543e200a1fe57275e81 The first line of this file holds the git revision number of the last merge done from the gofrontend repository. |