Restore "[ThinLTO] Use MD5 hash in function index." with fix

This restores commit r260408, along with a fix for a bot failure.

The bot failure was caused by dereferencing a unique_ptr in the same
call instruction parameter list where it was passed via std::move.
Apparently due to luck this was not exposed when I built the compiler
with clang, only with gcc.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@260442 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Teresa Johnson
2016-02-10 21:55:02 +00:00
parent 1d9f7a9b38
commit 0060160bcf
14 changed files with 167 additions and 104 deletions
+2
View File
@@ -0,0 +1,2 @@
; RUN: llvm-bcanalyzer -dump %p/Inputs/source-filename.bc | FileCheck %s
; CHECK: <SOURCE_FILENAME {{.*}} record string = 'source-filename.c'