diff options
author | Shankar Easwaran <shankare@codeaurora.org> | 2014-12-01 20:28:54 +0000 |
---|---|---|
committer | Shankar Easwaran <shankare@codeaurora.org> | 2014-12-01 20:28:54 +0000 |
commit | 7a64ec24d64f1f24906bce220ad6a6ff8b5812fe (patch) | |
tree | 5adfae3559a544829f68ff6d84486d37d27bfa2c /lld/lib/Core/LinkingContext.cpp | |
parent | 0d040f66a5c5ffe1a5ebc72f1e87840764195103 (diff) | |
download | bcm5719-llvm-7a64ec24d64f1f24906bce220ad6a6ff8b5812fe.tar.gz bcm5719-llvm-7a64ec24d64f1f24906bce220ad6a6ff8b5812fe.zip |
[Core] Remove function to not override RoundTripPasses.
RoundTripPasses should always be called in DEBUG mode if the environment
variable "LLD_RUN_ROUNDTRIP_TEST" is set.
Flavors should not be able to override this behavior.
llvm-svn: 223073
Diffstat (limited to 'lld/lib/Core/LinkingContext.cpp')
-rw-r--r-- | lld/lib/Core/LinkingContext.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/lib/Core/LinkingContext.cpp b/lld/lib/Core/LinkingContext.cpp index ee738660e68..d684a63a0bf 100644 --- a/lld/lib/Core/LinkingContext.cpp +++ b/lld/lib/Core/LinkingContext.cpp @@ -32,7 +32,7 @@ LinkingContext::LinkingContext() llvm::Optional<std::string> env = llvm::sys::Process::GetEnv("LLD_RUN_ROUNDTRIP_TEST"); if (env.hasValue() && !env.getValue().empty()) - setRunRoundTripPass(true); + _runRoundTripPasses = true; } #else LinkingContext::LinkingContext() |