mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-28 06:32:09 +00:00
Update misleading comment.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@193371 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2ea3b53928
commit
39cd7d48c0
@ -1959,9 +1959,10 @@ DwarfUnits::computeSizeAndOffset(DIE *Die, unsigned Offset) {
|
||||
return Offset;
|
||||
}
|
||||
|
||||
// Compute the size and offset of all the DIEs.
|
||||
// Compute the size and offset for each DIE.
|
||||
void DwarfUnits::computeSizeAndOffsets() {
|
||||
// Offset from the beginning of debug info section.
|
||||
// Iterate over each compile unit and set the size and offsets for each
|
||||
// DIE within each compile unit. All offsets are CU relative.
|
||||
for (SmallVectorImpl<CompileUnit *>::iterator I = CUs.begin(),
|
||||
E = CUs.end(); I != E; ++I) {
|
||||
unsigned Offset =
|
||||
|
Loading…
x
Reference in New Issue
Block a user