projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22ef956
)
Fix FunctionImport export list computation: need to take a reference to a map entry...
author
Mehdi Amini
<mehdi.amini@apple.com>
Wed, 13 Apr 2016 01:52:32 +0000
(
01:52
+0000)
committer
Mehdi Amini
<mehdi.amini@apple.com>
Wed, 13 Apr 2016 01:52:32 +0000
(
01:52
+0000)
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 266159
llvm/lib/Transforms/IPO/FunctionImport.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/Transforms/IPO/FunctionImport.cpp
b/llvm/lib/Transforms/IPO/FunctionImport.cpp
index
63cfca4
..
088b114
100644
(file)
--- a/
llvm/lib/Transforms/IPO/FunctionImport.cpp
+++ b/
llvm/lib/Transforms/IPO/FunctionImport.cpp
@@
-177,7
+177,7
@@
static void computeImportForFunction(
// Make exports in the source module.
auto ExportModulePath = CalleeSummary->modulePath();
if (ExportLists) {
- auto ExportList = (*ExportLists)[ExportModulePath];
+ auto
&
ExportList = (*ExportLists)[ExportModulePath];
ExportList.insert(GUID);
// Mark all functions and globals referenced by this function as exported
// to the outside if they are defined in the same source module.