• Elias Naur's avatar
    runtime: fix cgo export of panicmem on ios · ae175f74
    Elias Naur authored
    CL 68490 reworked the way the panicmem function is exposed to the
    C mach expection catcher. However, //go:cgo_export_static isn't enough:
    the underlying assembly functions must not start with the middle dot.
    
    Without the middle dot, the panicmem function's exported name is
    not prefixed with its package; rename it to xx_cgo_panicmem to decrease
    the chance of a symbol name clash.
    
    Finally, mark the overridden C symbol weak to avoid duplicate symbol
    errors from the host linker.
    
    For the ios builders.
    
    Change-Id: Ib87789fecec9314e398cf1bd8c04ba0b3a6642af
    Reviewed-on: https://go-review.googlesource.com/69113
    Run-TryBot: Elias Naur <elias.naur@gmail.com>
    TryBot-Result: Gobot Gobot <gobot@golang.org>
    Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    ae175f74
Name
Last commit
Last update
..
386.txt Loading commit data...
all.txt Loading commit data...
amd64.txt Loading commit data...
android_386.txt Loading commit data...
android_amd64.txt Loading commit data...
android_arm.txt Loading commit data...
arm.txt Loading commit data...
arm64.txt Loading commit data...
darwin_386.txt Loading commit data...
darwin_amd64.txt Loading commit data...
darwin_arm.txt Loading commit data...
darwin_arm64.txt Loading commit data...
dragonfly_amd64.txt Loading commit data...
freebsd_386.txt Loading commit data...
freebsd_amd64.txt Loading commit data...
freebsd_arm.txt Loading commit data...
linux_386.txt Loading commit data...
linux_amd64.txt Loading commit data...
linux_arm.txt Loading commit data...
linux_arm64.txt Loading commit data...
linux_ppc64x.txt Loading commit data...
mips.txt Loading commit data...
mips64x.txt Loading commit data...
mipsle.txt Loading commit data...
mipsx.txt Loading commit data...
nacl_386.txt Loading commit data...
nacl_amd64p32.txt Loading commit data...
nacl_arm.txt Loading commit data...
netbsd.txt Loading commit data...
netbsd_386.txt Loading commit data...
netbsd_amd64.txt Loading commit data...
netbsd_arm.txt Loading commit data...
openbsd_386.txt Loading commit data...
openbsd_amd64.txt Loading commit data...
openbsd_arm.txt Loading commit data...
plan9_386.txt Loading commit data...
plan9_amd64.txt Loading commit data...
plan9_arm.txt Loading commit data...
ppc64x.txt Loading commit data...
readme.txt Loading commit data...
s390x.txt Loading commit data...
solaris_amd64.txt Loading commit data...
windows.txt Loading commit data...
windows_386.txt Loading commit data...
windows_amd64.txt Loading commit data...