switch IRBuilder to use NewDebugLoc for locations instead
authorChris Lattner <sabre@nondot.org>
Thu, 1 Apr 2010 06:31:45 +0000 (06:31 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 1 Apr 2010 06:31:45 +0000 (06:31 +0000)
commita41b9153c3e568c874eb777d2b295659a9aca10a
tree501d19b50f4997e21e6fc3de4351ffacb1e82d2b
parentf0100ff3f6adb41d257ab5bff5fef390a8f458e2
switch IRBuilder to use NewDebugLoc for locations instead
of raw mdnodes.  This allows frontends to specify debug
locations without ever creating an MDNode for the DILocation.

This requires a corresponding clang/llvm-gcc change which
I'll try to commit as simultaneously as possible.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100095 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Support/IRBuilder.h
lib/VMCore/Core.cpp