mirror of https://github.com/golang/go.git
[release-branch.go1.18] cmd/cgo: recognize clang 14 DWARF type names
Fixes #57028
Updates #53013
Change-Id: I169d4eb2420a6da52cc9abe17da98c3092a91be6
Reviewed-on: https://go-review.googlesource.com/c/go/+/407514
Auto-Submit: Ian Lance Taylor <iant@google.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Run-TryBot: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
(cherry picked from commit 2cfbef4380)
Reviewed-on: https://go-review.googlesource.com/c/go/+/454415
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Run-TryBot: Heschi Kreinick <heschi@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This commit is contained in:
parent
3115ed23bd
commit
e727f41930
|
|
@ -2215,6 +2215,8 @@ var dwarfToName = map[string]string{
|
|||
"long long unsigned int": "ulonglong",
|
||||
"signed char": "schar",
|
||||
"unsigned char": "uchar",
|
||||
"unsigned long": "ulong", // Used by Clang 14; issue 53013.
|
||||
"unsigned long long": "ulonglong", // Used by Clang 14; issue 53013.
|
||||
}
|
||||
|
||||
const signedDelta = 64
|
||||
|
|
|
|||
Loading…
Reference in New Issue