summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2016-02-10 21:55:02 +0000
committerTeresa Johnson <tejohnson@google.com>2016-02-10 21:55:02 +0000
commite1164de5d0c9ae28a943d07eaf8e75f24bfb2d4a (patch)
tree7b7037f3104679a3f051dd24575543e75180b572 /llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
parent3e58a6a7b2b6f6af9ac2b091909e829fe5a21a99 (diff)
downloadbcm5719-llvm-e1164de5d0c9ae28a943d07eaf8e75f24bfb2d4a.tar.gz
bcm5719-llvm-e1164de5d0c9ae28a943d07eaf8e75f24bfb2d4a.zip
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. llvm-svn: 260442
Diffstat (limited to 'llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp')
-rw-r--r--llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp b/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
index 1a4bc9ef178..1e0209bb79a 100644
--- a/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
+++ b/llvm/tools/llvm-bcanalyzer/llvm-bcanalyzer.cpp
@@ -173,6 +173,7 @@ static const char *GetCodeName(unsigned CodeID, unsigned BlockID,
STRINGIFY_CODE(MODULE_CODE, GCNAME)
STRINGIFY_CODE(MODULE_CODE, VSTOFFSET)
STRINGIFY_CODE(MODULE_CODE, METADATA_VALUES)
+ STRINGIFY_CODE(MODULE_CODE, SOURCE_FILENAME)
}
case bitc::IDENTIFICATION_BLOCK_ID:
switch (CodeID) {
OpenPOWER on IntegriCloud