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:
f39a70c
)
Fix MSVC build.
author
Rui Ueyama
<ruiu@google.com>
Fri, 11 Mar 2016 18:56:05 +0000
(18:56 +0000)
committer
Rui Ueyama
<ruiu@google.com>
Fri, 11 Mar 2016 18:56:05 +0000
(18:56 +0000)
llvm-svn: 263277
lld/ELF/Writer.cpp
patch
|
blob
|
history
diff --git
a/lld/ELF/Writer.cpp
b/lld/ELF/Writer.cpp
index
a3c24bf
..
7d14596
100644
(file)
--- a/
lld/ELF/Writer.cpp
+++ b/
lld/ELF/Writer.cpp
@@
-307,7
+307,7
@@
void Writer<ELFT>::scanRelocs(
InputSectionBase<ELFT> &C,
iterator_range<const Elf_Rel_Impl<ELFT, isRela> *> Rels) {
typedef Elf_Rel_Impl<ELFT, isRela> RelType;
- const ObjectFile<ELFT> &File = *C.getFile();
+ const
elf::
ObjectFile<ELFT> &File = *C.getFile();
for (const RelType &RI : Rels) {
uint32_t SymIndex = RI.getSymbol(Config->Mips64EL);
SymbolBody &OrigBody = File.getSymbolBody(SymIndex);