Skip to content

Commit 0ded75c

Browse files
victorviannaVictor Hugo Vianna Silva
andauthored
[llvm] Fix C++23 error in InstrProfCorrelator.h (llvm#163554)
[1] instantiates ~unique_ptr<DwarfContext>, so that must be a complete type. [1] https://github.com/llvm/llvm-project/blob/67e6a376209c9cc9576012c1c042bee9b852d584/llvm/include/llvm/ProfileData/InstrProfCorrelator.h#L182 Co-authored-by: Victor Hugo Vianna Silva <[email protected]>
1 parent 724c2aa commit 0ded75c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/ProfileData/InstrProfCorrelator.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
#define LLVM_PROFILEDATA_INSTRPROFCORRELATOR_H
1414

1515
#include "llvm/ADT/DenseSet.h"
16+
#include "llvm/DebugInfo/DWARF/DWARFContext.h"
1617
#include "llvm/Debuginfod/BuildIDFetcher.h"
1718
#include "llvm/Object/BuildID.h"
1819
#include "llvm/ProfileData/InstrProf.h"
@@ -24,7 +25,6 @@
2425
#include <vector>
2526

2627
namespace llvm {
27-
class DWARFContext;
2828
class DWARFDie;
2929
namespace object {
3030
class ObjectFile;

0 commit comments

Comments
 (0)