• Rob Pike's avatar
    cmd/go: make asm the first assembler · 4100f7d9
    Rob Pike authored
    verifyAsm is still on, but this CL changes the order to asm then 6a.
    Before, it was 6a then asm, but that meant that any bugs in asm
    for bad input would be prevented from happening because 6a would
    catch them. Now asm gets first crack, as it must.
    
    Also implement the -trimpath flag in asm. It's necessary and trivial.
    
    Change-Id: Ifb2ab870de1aa1b53dec76a78ac697a0d36fa80a
    Reviewed-on: https://go-review.googlesource.com/5850Reviewed-by: 's avatarRuss Cox <rsc@golang.org>
    4100f7d9
main.go 1.33 KB