summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMehdi Amini <mehdi.amini@apple.com>2016-04-12 23:58:30 +0000
committerMehdi Amini <mehdi.amini@apple.com>2016-04-12 23:58:30 +0000
commit3dfc952e83ca480caf2dd52cc35428c65f3394ca (patch)
treeefbcbcb98a5f5a6958d3d1f29172b6315ebfd89f
parent703b2ec43fd707342b0e5e110c2348bb8cfbd4c3 (diff)
downloadbcm5719-llvm-3dfc952e83ca480caf2dd52cc35428c65f3394ca.tar.gz
bcm5719-llvm-3dfc952e83ca480caf2dd52cc35428c65f3394ca.zip
LTOInternalize: Fix member type, should be a reference and not a copy
From: Mehdi Amini <mehdi.amini@apple.com> llvm-svn: 266153
-rw-r--r--llvm/lib/LTO/LTOInternalize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/LTO/LTOInternalize.cpp b/llvm/lib/LTO/LTOInternalize.cpp
index 69b2f5af758..74619d2d8b7 100644
--- a/llvm/lib/LTO/LTOInternalize.cpp
+++ b/llvm/lib/LTO/LTOInternalize.cpp
@@ -48,7 +48,7 @@ public:
private:
// Inputs
const StringSet<> &MustPreserveSymbols;
- const StringSet<> AsmUndefinedRefs;
+ const StringSet<> &AsmUndefinedRefs;
const TargetMachine &TM;
// Temps
OpenPOWER on IntegriCloud