mirror of
https://github.com/golang/go
synced 2024-11-02 13:42:29 +00:00
cmd/cgo: recognize clang 14 DWARF type names
Fixes #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>
This commit is contained in:
parent
c7ccabf3fe
commit
2cfbef4380
1 changed files with 2 additions and 0 deletions
|
@ -2242,6 +2242,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 a new issue