• 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
..
all Loading commit data...
internal Loading commit data...
testdata Loading commit data...
README Loading commit data...
asmdecl.go Loading commit data...
assign.go Loading commit data...
atomic.go Loading commit data...
bool.go Loading commit data...
buildtag.go Loading commit data...
cgo.go Loading commit data...
composite.go Loading commit data...
copylock.go Loading commit data...
dead.go Loading commit data...
deadcode.go Loading commit data...
doc.go Loading commit data...
httpresponse.go Loading commit data...
lostcancel.go Loading commit data...
main.go Loading commit data...
method.go Loading commit data...
nilfunc.go Loading commit data...
print.go Loading commit data...
rangeloop.go Loading commit data...
shadow.go Loading commit data...
shift.go Loading commit data...
structtag.go Loading commit data...
tests.go Loading commit data...
types.go Loading commit data...
unsafeptr.go Loading commit data...
unused.go Loading commit data...
vet_test.go Loading commit data...