Skip to content

Commit

Permalink
[gold][NPM] Use NPM with ENABLE_EXPERIMENTAL_NEW_PASS_MANAGER
Browse files Browse the repository at this point in the history
Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D92869
  • Loading branch information
aeubanks committed Dec 8, 2020
1 parent fa602d7 commit f0e89e6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion llvm/tools/gold/gold-plugin.cpp
Expand Up @@ -16,6 +16,7 @@
#include "llvm/Bitcode/BitcodeWriter.h"
#include "llvm/CodeGen/CommandFlags.h"
#include "llvm/Config/config.h" // plugin-api.h requires HAVE_STDINT_H
#include "llvm/Config/llvm-config.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "llvm/LTO/Caching.h"
Expand Down Expand Up @@ -200,7 +201,7 @@ namespace options {
// Sample profile file path
static std::string sample_profile;
// New pass manager
static bool new_pass_manager = false;
static bool new_pass_manager = LLVM_ENABLE_NEW_PASS_MANAGER;
// Debug new pass manager
static bool debug_pass_manager = false;
// Directory to store the .dwo files.
Expand Down

0 comments on commit f0e89e6

Please sign in to comment.