aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorevgeny <eleviant@accesssoftek.com>2019-12-18 18:33:15 +0300
committerevgeny <eleviant@accesssoftek.com>2019-12-18 18:33:15 +0300
commitad364956edb7f06e0064e90e7c37d13b3cccd1cf (patch)
tree9d180ba44edd7947fdf1a25fb55c3fc70c23216b /llvm/lib/LTO/LTO.cpp
parent3a779b7dfd8ee2924997dbed7f6c43d7989895f6 (diff)
downloadllvm-ad364956edb7f06e0064e90e7c37d13b3cccd1cf.zip
llvm-ad364956edb7f06e0064e90e7c37d13b3cccd1cf.tar.gz
llvm-ad364956edb7f06e0064e90e7c37d13b3cccd1cf.tar.bz2
[ThinLTO] Show preserved symbols in DOT files
Differential revision: https://reviews.llvm.org/D71608
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index 0d48090..950315f 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -1264,7 +1264,8 @@ Error LTO::runThinLTO(AddStreamFn AddStream, NativeObjectCache Cache,
if (ThinLTO.ModuleMap.empty())
return Error::success();
- if (Conf.CombinedIndexHook && !Conf.CombinedIndexHook(ThinLTO.CombinedIndex))
+ if (Conf.CombinedIndexHook &&
+ !Conf.CombinedIndexHook(ThinLTO.CombinedIndex, GUIDPreservedSymbols))
return Error::success();
// Collect for each module the list of function it defines (GUID ->