Skip to content

Commit d95b5e7

Browse files
SC llvm teamSC llvm team
SC llvm team
authored and
SC llvm team
committed
Merged main:63b2595846b86b4e4eb9afba5e97dd64e8135c10 into amd-gfx:c176ed1b3b93
Local branch amd-gfx c176ed1 Merged main:caf0897c9c7f6f2a142af06bff8680a23d1d4bf5 into amd-gfx:bd53c0b2e9b9 Remote branch main 63b2595 [AMDGPU][GlobalIsel] Use isRegisterClassType for G_FREEZE and G_IMPLICIT_DEF (llvm#101331)
2 parents c176ed1 + 63b2595 commit d95b5e7

File tree

308 files changed

+12399
-3802
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

308 files changed

+12399
-3802
lines changed

bolt/include/bolt/Core/BinaryData.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ inline raw_ostream &operator<<(raw_ostream &OS,
226226
Sep = ",\n ";
227227
TotalCount += AccessInfo.Count;
228228
}
229-
SS.flush();
230229

231230
OS << TotalCount << " total counts : " << TempString;
232231
return OS;

bolt/include/bolt/Core/BinaryFunction.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@ inline raw_ostream &operator<<(raw_ostream &OS,
117117
TotalCount += CSP.Count;
118118
TotalMispreds += CSP.Mispreds;
119119
}
120-
SS.flush();
121120

122121
OS << TotalCount << " (" << TotalMispreds << " misses) :" << TempString;
123122
return OS;

bolt/lib/Passes/RetpolineInsertion.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ std::string createRetpolineFunctionTag(BinaryContext &BC,
181181
if (BrInfo.isReg()) {
182182
BC.InstPrinter->printRegName(TagOS, BrInfo.BranchReg);
183183
TagOS << "_";
184-
TagOS.flush();
185184
return Tag;
186185
}
187186

@@ -212,7 +211,6 @@ std::string createRetpolineFunctionTag(BinaryContext &BC,
212211
BC.InstPrinter->printRegName(TagOS, MemRef.SegRegNum);
213212
}
214213

215-
TagOS.flush();
216214
return Tag;
217215
}
218216

bolt/lib/Rewrite/RewriteInstance.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4245,7 +4245,6 @@ void RewriteInstance::addBoltInfoSection() {
42454245
<< "command line:";
42464246
for (int I = 0; I < Argc; ++I)
42474247
DescOS << " " << Argv[I];
4248-
DescOS.flush();
42494248

42504249
// Encode as GNU GOLD VERSION so it is easily printable by 'readelf -n'
42514250
const std::string BoltInfo =
@@ -4268,7 +4267,6 @@ void RewriteInstance::encodeBATSection() {
42684267
raw_string_ostream DescOS(DescStr);
42694268

42704269
BAT->write(*BC, DescOS);
4271-
DescOS.flush();
42724270

42734271
const std::string BoltInfo =
42744272
BinarySection::encodeELFNote("BOLT", DescStr, BinarySection::NT_BOLT_BAT);

bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,6 @@ std::string InstrumentationRuntimeLibrary::buildTables(BinaryContext &BC) {
314314
}
315315
// Our string table lives immediately after descriptions vector
316316
OS << Summary->StringTable;
317-
OS.flush();
318317

319318
return TablesStr;
320319
}

bolt/test/X86/log.test

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN: yaml2obj %p/Inputs/blarge.yaml &> %t.exe
66
RUN: llvm-bolt %t.exe -o %t.null --data %p/Inputs/blarge.fdata -v=2 \
77
RUN: --reorder-blocks=normal --print-finalized --log-file=%t.log 2>&1 \
88
RUN: | FileCheck --check-prefix=CHECK --allow-empty %s
9-
RUN: cat %t.log | FileCheck %s --check-prefix=CHECK-LOG
9+
RUN: FileCheck %s --check-prefix=CHECK-LOG --input-file %t.log
1010

1111
CHECK-NOT: BOLT-INFO
1212
CHECK-NOT: BOLT-WARNING
@@ -16,4 +16,4 @@ CHECK-NOT: BOLT-ERROR
1616
CHECK-LOG: BOLT-INFO: Target architecture
1717
CHECK-LOG: BOLT-INFO: BOLT version
1818
CHECK-LOG: BOLT-INFO: basic block reordering modified layout
19-
CHECK-LOG: Binary Function "usqrt"
19+
CHECK-LOG: Binary Function "main"

bolt/test/perf2bolt/perf_test.test

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,12 @@
33
REQUIRES: system-linux, perf
44

55
RUN: %clang %S/Inputs/perf_test.c -fuse-ld=lld -Wl,--script=%S/Inputs/perf_test.lds -o %t
6-
RUN: perf record -e cycles:u -o %t2 -- %t
6+
RUN: perf record -Fmax -e cycles:u -o %t2 -- %t
77
RUN: perf2bolt %t -p=%t2 -o %t3 -nl -ignore-build-id 2>&1 | FileCheck %s
88

99
CHECK-NOT: PERF2BOLT-ERROR
1010
CHECK-NOT: !! WARNING !! This high mismatch ratio indicates the input binary is probably not the same binary used during profiling collection.
1111

1212
RUN: %clang %S/Inputs/perf_test.c -no-pie -fuse-ld=lld -o %t4
13-
RUN: perf record -e cycles:u -o %t5 -- %t4
14-
RUN: perf2bolt %t4 -p=%t5 -o %t6 -nl -ignore-build-id 2>&1 | FileCheck %s --check-prefix=CHECK-NO-PIE
15-
16-
CHECK-NO-PIE-NOT: PERF2BOLT-ERROR
17-
CHECK-NO-PIE-NOT: !! WARNING !! This high mismatch ratio indicates the input binary is probably not the same binary used during profiling collection.
13+
RUN: perf record -Fmax -e cycles:u -o %t5 -- %t4
14+
RUN: perf2bolt %t4 -p=%t5 -o %t6 -nl -ignore-build-id 2>&1 | FileCheck %s

clang/docs/OpenMPSupport.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ implementation.
294294
+------------------------------+--------------------------------------------------------------+--------------------------+-----------------------------------------------------------------------+
295295
| misc | error directive | :good:`done` | D139166 |
296296
+------------------------------+--------------------------------------------------------------+--------------------------+-----------------------------------------------------------------------+
297-
| misc | scope construct | :none:`worked on` | D157933 |
297+
| misc | scope construct | :good:`done` | D157933, https://github.com/llvm/llvm-project/pull/109197 |
298298
+------------------------------+--------------------------------------------------------------+--------------------------+-----------------------------------------------------------------------+
299299
| misc | routines for controlling and querying team regions | :part:`partial` | D95003 (libomp only) |
300300
+------------------------------+--------------------------------------------------------------+--------------------------+-----------------------------------------------------------------------+

clang/include/clang/Basic/BuiltinsNVPTX.def

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -599,14 +599,6 @@ TARGET_BUILTIN(__nvvm_e4m3x2_to_f16x2_rn_relu, "V2hs", "", AND(SM_89,PTX81))
599599
TARGET_BUILTIN(__nvvm_e5m2x2_to_f16x2_rn, "V2hs", "", AND(SM_89,PTX81))
600600
TARGET_BUILTIN(__nvvm_e5m2x2_to_f16x2_rn_relu, "V2hs", "", AND(SM_89,PTX81))
601601

602-
// Bitcast
603-
604-
BUILTIN(__nvvm_bitcast_f2i, "if", "")
605-
BUILTIN(__nvvm_bitcast_i2f, "fi", "")
606-
607-
BUILTIN(__nvvm_bitcast_ll2d, "dLLi", "")
608-
BUILTIN(__nvvm_bitcast_d2ll, "LLid", "")
609-
610602
// FNS
611603
TARGET_BUILTIN(__nvvm_fns, "UiUiUii", "n", PTX60)
612604

clang/include/clang/Frontend/ASTUnit.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -692,8 +692,8 @@ class ASTUnit {
692692
///
693693
/// \returns - The initialized ASTUnit or null if the AST failed to load.
694694
static std::unique_ptr<ASTUnit>
695-
LoadFromASTFile(const std::string &Filename,
696-
const PCHContainerReader &PCHContainerRdr, WhatToLoad ToLoad,
695+
LoadFromASTFile(StringRef Filename, const PCHContainerReader &PCHContainerRdr,
696+
WhatToLoad ToLoad,
697697
IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
698698
const FileSystemOptions &FileSystemOpts,
699699
std::shared_ptr<HeaderSearchOptions> HSOpts,

clang/lib/Basic/Targets/RISCV.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -486,3 +486,15 @@ bool RISCVTargetInfo::validateCpuSupports(StringRef Feature) const {
486486
bool RISCVTargetInfo::isValidFeatureName(StringRef Name) const {
487487
return llvm::RISCVISAInfo::isSupportedExtensionFeature(Name);
488488
}
489+
490+
bool RISCVTargetInfo::validateGlobalRegisterVariable(
491+
StringRef RegName, unsigned RegSize, bool &HasSizeMismatch) const {
492+
if (RegName == "ra" || RegName == "sp" || RegName == "gp" ||
493+
RegName == "tp" || RegName.starts_with("x") || RegName.starts_with("a") ||
494+
RegName.starts_with("s") || RegName.starts_with("t")) {
495+
unsigned XLen = getTriple().isArch64Bit() ? 64 : 32;
496+
HasSizeMismatch = RegSize != XLen;
497+
return true;
498+
}
499+
return false;
500+
}

clang/lib/Basic/Targets/RISCV.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,9 @@ class RISCVTargetInfo : public TargetInfo {
131131
bool supportsCpuInit() const override { return getTriple().isOSLinux(); }
132132
bool validateCpuSupports(StringRef Feature) const override;
133133
bool isValidFeatureName(StringRef Name) const override;
134+
135+
bool validateGlobalRegisterVariable(StringRef RegName, unsigned RegSize,
136+
bool &HasSizeMismatch) const override;
134137
};
135138
class LLVM_LIBRARY_VISIBILITY RISCV32TargetInfo : public RISCVTargetInfo {
136139
public:

clang/lib/CodeGen/CGBuiltin.cpp

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -587,9 +587,10 @@ static Value *emitCallMaybeConstrainedFPBuiltin(CodeGenFunction &CGF,
587587
// matching the argument type. It is assumed that only the first argument is
588588
// overloaded.
589589
template <unsigned N>
590-
Value *emitBuiltinWithOneOverloadedType(CodeGenFunction &CGF, const CallExpr *E,
591-
unsigned IntrinsicID,
592-
llvm::StringRef Name = "") {
590+
static Value *emitBuiltinWithOneOverloadedType(CodeGenFunction &CGF,
591+
const CallExpr *E,
592+
unsigned IntrinsicID,
593+
llvm::StringRef Name = "") {
593594
static_assert(N, "expect non-empty argument");
594595
SmallVector<Value *, N> Args;
595596
for (unsigned I = 0; I < N; ++I)
@@ -18175,7 +18176,7 @@ Value *CodeGenFunction::EmitPPCBuiltinExpr(unsigned BuiltinID,
1817518176
CallOps.push_back(Ops[i]);
1817618177
llvm::Function *F = CGM.getIntrinsic(ID);
1817718178
Value *Call = Builder.CreateCall(F, CallOps);
18178-
return Builder.CreateAlignedStore(Call, Ops[0], MaybeAlign(64));
18179+
return Builder.CreateAlignedStore(Call, Ops[0], MaybeAlign());
1817918180
}
1818018181

1818118182
case PPC::BI__builtin_ppc_compare_and_swap:
@@ -18569,7 +18570,7 @@ llvm::Value *CodeGenFunction::EmitScalarOrConstFoldImmArg(unsigned ICEArguments,
1856918570
}
1857018571

1857118572
// Return dot product intrinsic that corresponds to the QT scalar type
18572-
Intrinsic::ID getDotProductIntrinsic(CGHLSLRuntime &RT, QualType QT) {
18573+
static Intrinsic::ID getDotProductIntrinsic(CGHLSLRuntime &RT, QualType QT) {
1857318574
if (QT->isFloatingType())
1857418575
return RT.getFDotIntrinsic();
1857518576
if (QT->isSignedIntegerType())

clang/lib/CodeGen/CGOpenMPRuntime.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ llvm::Type *CGOpenMPRuntime::getKmpc_MicroPointerTy() {
14901490
return llvm::PointerType::getUnqual(Kmpc_MicroTy);
14911491
}
14921492

1493-
llvm::OffloadEntriesInfoManager::OMPTargetDeviceClauseKind
1493+
static llvm::OffloadEntriesInfoManager::OMPTargetDeviceClauseKind
14941494
convertDeviceClause(const VarDecl *VD) {
14951495
std::optional<OMPDeclareTargetDeclAttr::DevTypeTy> DevTy =
14961496
OMPDeclareTargetDeclAttr::getDeviceType(VD);
@@ -1513,7 +1513,7 @@ convertDeviceClause(const VarDecl *VD) {
15131513
}
15141514
}
15151515

1516-
llvm::OffloadEntriesInfoManager::OMPTargetGlobalVarEntryKind
1516+
static llvm::OffloadEntriesInfoManager::OMPTargetGlobalVarEntryKind
15171517
convertCaptureClause(const VarDecl *VD) {
15181518
std::optional<OMPDeclareTargetDeclAttr::MapTypeTy> MapType =
15191519
OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration(VD);
@@ -8836,7 +8836,7 @@ static ValueDecl *getDeclFromThisExpr(const Expr *E) {
88368836

88378837
/// Emit a string constant containing the names of the values mapped to the
88388838
/// offloading runtime library.
8839-
llvm::Constant *
8839+
static llvm::Constant *
88408840
emitMappingInformation(CodeGenFunction &CGF, llvm::OpenMPIRBuilder &OMPBuilder,
88418841
MappableExprsHandler::MappingExprInfo &MapExprs) {
88428842

@@ -9450,8 +9450,8 @@ static llvm::Value *emitDeviceID(
94509450
return DeviceID;
94519451
}
94529452

9453-
llvm::Value *emitDynCGGroupMem(const OMPExecutableDirective &D,
9454-
CodeGenFunction &CGF) {
9453+
static llvm::Value *emitDynCGGroupMem(const OMPExecutableDirective &D,
9454+
CodeGenFunction &CGF) {
94559455
llvm::Value *DynCGroupMem = CGF.Builder.getInt32(0);
94569456

94579457
if (auto *DynMemClause = D.getSingleClause<OMPXDynCGroupMemClause>()) {

clang/lib/CodeGen/CGStmtOpenMP.cpp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2734,8 +2734,8 @@ GetAlignedMapping(const OMPLoopDirective &S, CodeGenFunction &CGF) {
27342734

27352735
// Pass OMPLoopDirective (instead of OMPSimdDirective) to make this function
27362736
// available for "loop bind(thread)", which maps to "simd".
2737-
void emitOMPSimdDirective(const OMPLoopDirective &S, CodeGenFunction &CGF,
2738-
CodeGenModule &CGM) {
2737+
static void emitOMPSimdDirective(const OMPLoopDirective &S,
2738+
CodeGenFunction &CGF, CodeGenModule &CGM) {
27392739
bool UseOMPIRBuilder =
27402740
CGM.getLangOpts().OpenMPIRBuilder && isSimdSupportedByOpenMPIRBuilder(S);
27412741
if (UseOMPIRBuilder) {
@@ -3987,8 +3987,8 @@ convertClauseKindToSchedKind(OpenMPScheduleClauseKind ScheduleClauseKind) {
39873987

39883988
// Pass OMPLoopDirective (instead of OMPForDirective) to make this function
39893989
// available for "loop bind(parallel)", which maps to "for".
3990-
void emitOMPForDirective(const OMPLoopDirective &S, CodeGenFunction &CGF,
3991-
CodeGenModule &CGM, bool HasCancel) {
3990+
static void emitOMPForDirective(const OMPLoopDirective &S, CodeGenFunction &CGF,
3991+
CodeGenModule &CGM, bool HasCancel) {
39923992
bool HasLastprivates = false;
39933993
bool UseOMPIRBuilder = CGM.getLangOpts().OpenMPIRBuilder &&
39943994
isForSupportedByOpenMPIRBuilder(S, HasCancel);
@@ -5447,7 +5447,7 @@ void CodeGenFunction::EmitOMPTaskwaitDirective(const OMPTaskwaitDirective &S) {
54475447
CGM.getOpenMPRuntime().emitTaskwaitCall(*this, S.getBeginLoc(), Data);
54485448
}
54495449

5450-
bool isSupportedByOpenMPIRBuilder(const OMPTaskgroupDirective &T) {
5450+
static bool isSupportedByOpenMPIRBuilder(const OMPTaskgroupDirective &T) {
54515451
return T.clauses().empty();
54525452
}
54535453

@@ -5968,8 +5968,9 @@ void CodeGenFunction::EmitOMPDistributeLoop(const OMPLoopDirective &S,
59685968

59695969
// Pass OMPLoopDirective (instead of OMPDistributeDirective) to make this
59705970
// function available for "loop bind(teams)", which maps to "distribute".
5971-
void emitOMPDistributeDirective(const OMPLoopDirective &S, CodeGenFunction &CGF,
5972-
CodeGenModule &CGM) {
5971+
static void emitOMPDistributeDirective(const OMPLoopDirective &S,
5972+
CodeGenFunction &CGF,
5973+
CodeGenModule &CGM) {
59735974
auto &&CodeGen = [&S](CodeGenFunction &CGF, PrePostActionTy &) {
59745975
CGF.EmitOMPDistributeLoop(S, emitOMPLoopBodyWithStopPoint, S.getInc());
59755976
};

clang/lib/CodeGen/CodeGenModule.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -784,8 +784,9 @@ getLLVMVisibility(clang::LangOptions::VisibilityFromDLLStorageClassKinds K) {
784784
llvm_unreachable("unknown option value!");
785785
}
786786

787-
void setLLVMVisibility(llvm::GlobalValue &GV,
788-
std::optional<llvm::GlobalValue::VisibilityTypes> V) {
787+
static void
788+
setLLVMVisibility(llvm::GlobalValue &GV,
789+
std::optional<llvm::GlobalValue::VisibilityTypes> V) {
789790
if (!V)
790791
return;
791792

@@ -4224,8 +4225,8 @@ TargetMVPriority(const TargetInfo &TI,
42244225
// in the cases of CPUDispatch, this causes issues. This also makes sure we
42254226
// work with internal linkage functions, so that the same function name can be
42264227
// used with internal linkage in multiple TUs.
4227-
llvm::GlobalValue::LinkageTypes getMultiversionLinkage(CodeGenModule &CGM,
4228-
GlobalDecl GD) {
4228+
static llvm::GlobalValue::LinkageTypes
4229+
getMultiversionLinkage(CodeGenModule &CGM, GlobalDecl GD) {
42294230
const FunctionDecl *FD = cast<FunctionDecl>(GD.getDecl());
42304231
if (FD->getFormalLinkage() == Linkage::Internal)
42314232
return llvm::GlobalValue::InternalLinkage;

clang/lib/CodeGen/SanitizerMetadata.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ static bool isAsanHwasanOrMemTag(const SanitizerSet &SS) {
2727
SanitizerKind::HWAddress | SanitizerKind::MemTag);
2828
}
2929

30-
SanitizerMask expandKernelSanitizerMasks(SanitizerMask Mask) {
30+
static SanitizerMask expandKernelSanitizerMasks(SanitizerMask Mask) {
3131
if (Mask & (SanitizerKind::Address | SanitizerKind::KernelAddress))
3232
Mask |= SanitizerKind::Address | SanitizerKind::KernelAddress;
3333
// Note: KHWASan doesn't support globals.

clang/lib/CrossTU/CrossTranslationUnit.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -566,9 +566,9 @@ CrossTranslationUnitContext::ASTLoader::loadFromDump(StringRef ASTDumpPath) {
566566
IntrusiveRefCntPtr<DiagnosticsEngine> Diags(
567567
new DiagnosticsEngine(DiagID, &*DiagOpts, DiagClient));
568568
return ASTUnit::LoadFromASTFile(
569-
std::string(ASTDumpPath.str()),
570-
CI.getPCHContainerOperations()->getRawReader(), ASTUnit::LoadEverything,
571-
Diags, CI.getFileSystemOpts(), CI.getHeaderSearchOptsPtr());
569+
ASTDumpPath, CI.getPCHContainerOperations()->getRawReader(),
570+
ASTUnit::LoadEverything, Diags, CI.getFileSystemOpts(),
571+
CI.getHeaderSearchOptsPtr());
572572
}
573573

574574
/// Load the AST from a source-file, which is supposed to be located inside the

clang/lib/Frontend/ASTUnit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -802,7 +802,7 @@ void ASTUnit::ConfigureDiags(IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
802802
}
803803

804804
std::unique_ptr<ASTUnit> ASTUnit::LoadFromASTFile(
805-
const std::string &Filename, const PCHContainerReader &PCHContainerRdr,
805+
StringRef Filename, const PCHContainerReader &PCHContainerRdr,
806806
WhatToLoad ToLoad, IntrusiveRefCntPtr<DiagnosticsEngine> Diags,
807807
const FileSystemOptions &FileSystemOpts,
808808
std::shared_ptr<HeaderSearchOptions> HSOpts,

clang/lib/Frontend/FrontendAction.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -625,8 +625,8 @@ bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
625625
StringRef InputFile = Input.getFile();
626626

627627
std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile(
628-
std::string(InputFile), CI.getPCHContainerReader(),
629-
ASTUnit::LoadPreprocessorOnly, ASTDiags, CI.getFileSystemOpts(),
628+
InputFile, CI.getPCHContainerReader(), ASTUnit::LoadPreprocessorOnly,
629+
ASTDiags, CI.getFileSystemOpts(),
630630
/*HeaderSearchOptions=*/nullptr);
631631
if (!AST)
632632
return false;
@@ -693,9 +693,9 @@ bool FrontendAction::BeginSourceFile(CompilerInstance &CI,
693693
StringRef InputFile = Input.getFile();
694694

695695
std::unique_ptr<ASTUnit> AST = ASTUnit::LoadFromASTFile(
696-
std::string(InputFile), CI.getPCHContainerReader(),
697-
ASTUnit::LoadEverything, Diags, CI.getFileSystemOpts(),
698-
CI.getHeaderSearchOptsPtr(), CI.getLangOptsPtr());
696+
InputFile, CI.getPCHContainerReader(), ASTUnit::LoadEverything, Diags,
697+
CI.getFileSystemOpts(), CI.getHeaderSearchOptsPtr(),
698+
CI.getLangOptsPtr());
699699

700700
if (!AST)
701701
return false;

0 commit comments

Comments
 (0)