Commits

Adrian Prantl committed 935b702a074
Add an assertion to IRBuilder to prevent function calls with no debug location It is not valid LLVM IR to have a function call without a location to an inlinable function inside a function with debug info — this makes it impossible to construct inline information. This patch adds an assertion and fixes up several places across IRGen where such a situation could happen. rdar://problem/26955467