Attempt to unbreak buildbots.

llvm-svn: 205034
This commit is contained in:
Rui Ueyama 2014-03-28 19:23:13 +00:00
parent 8e18d3891e
commit a674f60dfd
1 changed files with 1 additions and 1 deletions

View File

@ -199,7 +199,7 @@ void ELFLinkingContext::createInternalFiles(
std::vector<std::unique_ptr<File>> &files) const {
std::unique_ptr<SimpleFile> file(
new SimpleFile("<internal file for --defsym>"));
for (auto i : getAbsoluteSymbols()) {
for (auto &i : getAbsoluteSymbols()) {
StringRef sym = i.first;
uint64_t val = i.second;
file->addAtom(*(new (_allocator) CommandLineAbsoluteAtom(*file, sym, val)));