aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInstance.cpp
diff options
context:
space:
mode:
authorQiongsi Wu <274595+qiongsiwu@users.noreply.github.com>2024-01-22 14:54:58 -0500
committerGitHub <noreply@github.com>2024-01-22 14:54:58 -0500
commit4f21fb84479286ddc781d73f8df152f81a8264e7 (patch)
tree672a0355a3338e21036c52f3a4828682f494d3f4 /clang/lib/Frontend/CompilerInstance.cpp
parent02aa6956b5b6c92f3d4aea0aa466ed0d33343335 (diff)
downloadllvm-4f21fb84479286ddc781d73f8df152f81a8264e7.zip
llvm-4f21fb84479286ddc781d73f8df152f81a8264e7.tar.gz
llvm-4f21fb84479286ddc781d73f8df152f81a8264e7.tar.bz2
[PGO] Reland PGO's Counter Reset and File Dumping APIs #76471 (#78285)
https://github.com/llvm/llvm-project/pull/76471 caused buildbot failures on Windows. For more details, see https://github.com/llvm/llvm-project/issues/77546. This PR revises the test and relands https://github.com/llvm/llvm-project/pull/76471.
Diffstat (limited to 'clang/lib/Frontend/CompilerInstance.cpp')
-rw-r--r--clang/lib/Frontend/CompilerInstance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/CompilerInstance.cpp b/clang/lib/Frontend/CompilerInstance.cpp
index c2588700..a25aa88 100644
--- a/clang/lib/Frontend/CompilerInstance.cpp
+++ b/clang/lib/Frontend/CompilerInstance.cpp
@@ -470,7 +470,7 @@ void CompilerInstance::createPreprocessor(TranslationUnitKind TUKind) {
// Predefine macros and configure the preprocessor.
InitializePreprocessor(*PP, PPOpts, getPCHContainerReader(),
- getFrontendOpts());
+ getFrontendOpts(), getCodeGenOpts());
// Initialize the header search object. In CUDA compilations, we use the aux
// triple (the host triple) to initialize our header search, since we need to