FailedChanges

Summary

  1. Revert r302469 "Make it illegal for two Functions to point to the same DISubprogram" This caused PR32977. Original commit message: > 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
Revision 302533 by hans:
Revert r302469 "Make it illegal for two Functions to point to the same DISubprogram"

This caused PR32977.

Original commit message:

> 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
Change TypePath in RepositoryPath in Workspace
The file was modified/llvm/trunk/include/llvm/IR/DebugLoc.h (diff)llvm-revision.src/llvm/trunk/include/llvm/IR/DebugLoc.h
The file was modified/llvm/trunk/lib/IR/DebugLoc.cpp (diff)llvm-revision.src/llvm/trunk/lib/IR/DebugLoc.cpp
The file was modified/llvm/trunk/lib/IR/Verifier.cpp (diff)llvm-revision.src/llvm/trunk/lib/IR/Verifier.cpp
The file was modified/llvm/trunk/lib/Transforms/Utils/CloneFunction.cpp (diff)llvm-revision.src/llvm/trunk/lib/Transforms/Utils/CloneFunction.cpp
The file was modified/llvm/trunk/lib/Transforms/Utils/InlineFunction.cpp (diff)llvm-revision.src/llvm/trunk/lib/Transforms/Utils/InlineFunction.cpp
The file was modified/llvm/trunk/test/Verifier/metadata-function-dbg.ll (diff)llvm-revision.src/llvm/trunk/test/Verifier/metadata-function-dbg.ll
The file was modified/llvm/trunk/unittests/Transforms/Utils/Cloning.cpp (diff)llvm-revision.src/llvm/trunk/unittests/Transforms/Utils/Cloning.cpp