summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2013-05-30 00:43:35 +0000
committerEric Christopher <echristo@gmail.com>2013-05-30 00:43:35 +0000
commitd1c5a317213a7d5551701bf9e2adf9246ceb6283 (patch)
tree25c55667ea11a9957c891c2179b42847d3e502b1 /llvm/lib
parent1e1c7f1b15b53add86c5086484fb3a123e9b5feb (diff)
downloadbcm5719-llvm-d1c5a317213a7d5551701bf9e2adf9246ceb6283.tar.gz
bcm5719-llvm-d1c5a317213a7d5551701bf9e2adf9246ceb6283.zip
Rename variable to be more descriptive.
llvm-svn: 182903
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
index 2d42af8f83a..5990d5eb5c8 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
@@ -1794,10 +1794,10 @@ DwarfUnits::computeSizeAndOffset(DIE *Die, unsigned Offset) {
// Compute the size and offset of all the DIEs.
void DwarfUnits::computeSizeAndOffsets() {
// Offset from the beginning of debug info section.
- unsigned AccuOffset = 0;
+ unsigned SecOffset = 0;
for (SmallVectorImpl<CompileUnit *>::iterator I = CUs.begin(),
E = CUs.end(); I != E; ++I) {
- (*I)->setDebugInfoOffset(AccuOffset);
+ (*I)->setDebugInfoOffset(SecOffset);
unsigned Offset =
sizeof(int32_t) + // Length of Compilation Unit Info
sizeof(int16_t) + // DWARF version number
@@ -1805,7 +1805,7 @@ void DwarfUnits::computeSizeAndOffsets() {
sizeof(int8_t); // Pointer Size (in bytes)
unsigned EndOffset = computeSizeAndOffset((*I)->getCUDie(), Offset);
- AccuOffset += EndOffset;
+ SecOffset += EndOffset;
}
}
OpenPOWER on IntegriCloud