Skip to content

Commit d099d95

Browse files
authored
[lld] Add missing includes. (#143453)
Some inline methods in these headers require a complete type but the corresponding include was missing.
1 parent c9cf5c2 commit d099d95

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lld/COFF/TypeMerger.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#ifndef LLD_COFF_TYPEMERGER_H
1010
#define LLD_COFF_TYPEMERGER_H
1111

12+
#include "COFFLinkerContext.h"
1213
#include "Config.h"
1314
#include "DebugTypes.h"
1415
#include "lld/Common/Timer.h"

lld/ELF/DWARF.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#define LLD_ELF_DWARF_H
1111

1212
#include "InputFiles.h"
13+
#include "InputSection.h"
1314
#include "llvm/ADT/STLExtras.h"
1415
#include "llvm/ADT/STLFunctionalExtras.h"
1516
#include "llvm/DebugInfo/DWARF/DWARFContext.h"

0 commit comments

Comments
 (0)