From 7a64ec24d64f1f24906bce220ad6a6ff8b5812fe Mon Sep 17 00:00:00 2001 From: Shankar Easwaran Date: Mon, 1 Dec 2014 20:28:54 +0000 Subject: [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 --- lld/lib/Core/LinkingContext.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lld/lib/Core/LinkingContext.cpp') 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 env = llvm::sys::Process::GetEnv("LLD_RUN_ROUNDTRIP_TEST"); if (env.hasValue() && !env.getValue().empty()) - setRunRoundTripPass(true); + _runRoundTripPasses = true; } #else LinkingContext::LinkingContext() -- cgit v1.2.3