summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2019-02-20 14:01:02 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2019-02-20 14:01:02 +0000
commitdac37fb38d01aac823fcc10b446536500450695f (patch)
tree45d10ca6927c3ad54d0f3bde461843bb3bdedb5e
parentd063c7d89be3bc270eb152bb29c2350260520bfe (diff)
downloadbcm5719-llvm-dac37fb38d01aac823fcc10b446536500450695f.tar.gz
bcm5719-llvm-dac37fb38d01aac823fcc10b446536500450695f.zip
[yaml2elf] - Rename a variable. NFC.
Was suggested during review of D58441. llvm-svn: 354463
-rw-r--r--llvm/tools/yaml2obj/yaml2elf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/tools/yaml2obj/yaml2elf.cpp b/llvm/tools/yaml2obj/yaml2elf.cpp
index 0aaeb0b5c61..4e51744991e 100644
--- a/llvm/tools/yaml2obj/yaml2elf.cpp
+++ b/llvm/tools/yaml2obj/yaml2elf.cpp
@@ -577,8 +577,8 @@ bool ELFState<ELFT>::writeSectionContent(Elf_Shdr &SHeader,
ContiguousBlobAccumulator &CBA) {
raw_ostream &OS =
CBA.getOSAndAlignedOffset(SHeader.sh_offset, SHeader.sh_addralign);
- for (uint16_t V : Section.Entries)
- support::endian::write<uint16_t>(OS, V, ELFT::TargetEndianness);
+ for (uint16_t Version : Section.Entries)
+ support::endian::write<uint16_t>(OS, Version, ELFT::TargetEndianness);
SHeader.sh_entsize = 2;
SHeader.sh_size = Section.Entries.size() * SHeader.sh_entsize;
OpenPOWER on IntegriCloud