adfa87c [release-branch.r58] cgo: handle new Apple LLVM-based gcc from Xcode 4.2

Authored and Committed by Russ Cox 12 years ago
    [release-branch.r58] cgo: handle new Apple LLVM-based gcc from Xcode 4.2
    
    ««« CL 4607045 / 142f0bc0d6e7
    cgo: handle new Apple LLVM-based gcc from Xcode 4.2
    
    That gcc does not include enumerator names and values
    in its DWARF debug output.  Create a data block from which
    we can read the values instead.
    
    Fixes #1881.
    
    R=iant
    CC=golang-dev
    https://golang.org/cl/4607045
    »»»
    
    R=adg
    CC=golang-dev
    https://golang.org/cl/4708042
    
        
file modified
+72 -17
file modified
+2 -2
file modified
+6 -0