Skip to content

Commit b169ccb

Browse files
resolve comments and update code comment
1 parent c59fff7 commit b169ccb

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

llvm/include/llvm/LTO/LTO.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ class MemoryBufferRef;
4040
class Module;
4141
class raw_pwrite_stream;
4242
class ToolOutputFile;
43-
class UniqueStringSaver;
4443

4544
/// Resolve linkage for prevailing symbols in the \p Index. Linkage changes
4645
/// recorded in the index and the ThinLTO backends must apply the changes to

llvm/include/llvm/Support/Allocator.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
#include "llvm/Support/AllocatorBase.h"
2323
#include "llvm/Support/Compiler.h"
2424
#include "llvm/Support/MathExtras.h"
25-
#include "llvm/Support/raw_ostream.h"
2625
#include <algorithm>
2726
#include <cassert>
2827
#include <cstddef>

llvm/lib/LTO/LTO.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1812,7 +1812,7 @@ Error LTO::runThinLTO(AddStreamFn AddStream, FileCache Cache,
18121812
// cross module importing, which adds to peak memory via the computed import
18131813
// and export lists.
18141814
GlobalResolutions.reset();
1815-
// Reset the bump pointer allocator to release its memory.
1815+
// Release the string saver memory.
18161816
GlobalResolutionSymbolSaver.reset();
18171817
Alloc.reset();
18181818

0 commit comments

Comments
 (0)