diff options
| author | Rui Ueyama <ruiu@google.com> | 2018-07-10 14:03:39 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2018-07-10 14:03:39 +0000 |
| commit | 3467fac0918e16dc6a176150f6094629e593e4c3 (patch) | |
| tree | 7b7b6180de714581b67eca1dc20a3c09fc6befe5 | |
| parent | f6cf891b4d07dd3ad4867993d0b11551f283f201 (diff) | |
| download | bcm5719-llvm-3467fac0918e16dc6a176150f6094629e593e4c3.tar.gz bcm5719-llvm-3467fac0918e16dc6a176150f6094629e593e4c3.zip | |
Rename a variable for consistency. NFC.
llvm-svn: 336674
| -rw-r--r-- | lld/ELF/SyntheticSections.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp index 99392cf2fa7..7bc7a655ec9 100644 --- a/lld/ELF/SyntheticSections.cpp +++ b/lld/ELF/SyntheticSections.cpp @@ -2444,9 +2444,9 @@ void GdbIndexSection::writeTo(uint8_t *Buf) { Buf += 24; // Write the CU list. - for (GdbIndexChunk &D : Chunks) { - for (GdbIndexChunk::CuEntry &Cu : D.CompilationUnits) { - write64le(Buf, D.DebugInfoSec->OutSecOff + Cu.CuOffset); + for (GdbIndexChunk &Chunk : Chunks) { + for (GdbIndexChunk::CuEntry &Cu : Chunk.CompilationUnits) { + write64le(Buf, Chunk.DebugInfoSec->OutSecOff + Cu.CuOffset); write64le(Buf + 8, Cu.CuLength); Buf += 16; } |

