aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2017-05-08 21:17:08 +0000
committerAdrian Prantl <aprantl@apple.com>2017-05-08 21:17:08 +0000
commit200a5ef5268b7d828f62195a6f55963b10ae221a (patch)
tree12584665478875689454cd4b7c354f983422ee44 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parenta9d8be68c1c3b6081ceef7eceb889fa429e626b2 (diff)
downloadllvm-200a5ef5268b7d828f62195a6f55963b10ae221a.zip
llvm-200a5ef5268b7d828f62195a6f55963b10ae221a.tar.gz
llvm-200a5ef5268b7d828f62195a6f55963b10ae221a.tar.bz2
Make it illegal for two Functions to point to the same DISubprogram
As recently discussed on llvm-dev [1], this patch makes it illegal for two Functions to point to the same DISubprogram and updates FunctionCloner to also clone the debug info of a function to conform to the new requirement. To simplify the implementation it also factors out the creation of inlineAt locations from the Inliner into a general-purpose utility in DILocation. [1] http://lists.llvm.org/pipermail/llvm-dev/2017-May/112661.html <rdar://problem/31926379> Differential Revision: https://reviews.llvm.org/D32975 llvm-svn: 302469
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions