Inliner::OptimizationRemark: Fix crash in clang/test/Frontend/optimization-remark...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 17 Apr 2014 12:22:14 +0000 (12:22 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Thu, 17 Apr 2014 12:22:14 +0000 (12:22 +0000)
commit207be301e37ec95ba0cfe53d927c47722ee3e3ce
tree6349db29542f5ca4dc9f07ea8318d856c67729ab
parent83ae2f7c6527ce7fa932ff460c2658e7b207be35
Inliner::OptimizationRemark: Fix crash in clang/test/Frontend/optimization-remark.c on some hosts, including --vg.

DebugLoc in Callsite would not live after Inliner. It should be copied before Inliner.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206459 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/IR/DiagnosticInfo.h
lib/Transforms/IPO/Inliner.cpp