irgen: don't emit debug metadata for locals
authorAndrew Wilkins <axwalk@gmail.com>
Thu, 29 Jan 2015 00:34:30 +0000 (00:34 +0000)
committerAndrew Wilkins <axwalk@gmail.com>
Thu, 29 Jan 2015 00:34:30 +0000 (00:34 +0000)
commit72b5e5f5b47a44294e2acb93c78de766b63265c2
treee6c25eba51ec0197f8ee078d73948ad246a2700b
parent905f12d96d015e289511319c7defcf1c85b9dc0d
irgen: don't emit debug metadata for locals

Summary:
The debug metadata we generate is wrong, and is
now causing build failures. This revision disables
the only llvm.dbg.declare calls we make.

(There is also a drive-by fix to CMakeLists.txt,
adding in a missing .go dependency.)

Fixes http://llvm.org/bugs/show_bug.cgi?id=22330

Reviewers: pcc

Reviewed By: pcc

Subscribers: dblaikie, llvm-commits

Differential Revision: http://reviews.llvm.org/D7222

llvm-svn: 227403
llgo/CMakeLists.txt
llgo/irgen/ssa.go