Merge remote-tracking branch 'origin/master' into master-next

This commit is contained in:
swift-ci
2018-03-13 12:09:54 -07:00
3 changed files with 10 additions and 1 deletions

View File

@@ -0,0 +1,6 @@
_ = ""
// rdar://problem/38314383
// RUN: %sourcekitd-test -req=cursor -offset=0 %s -- -Xllvm -aarch64-use-tbi %s | %FileCheck %s
// CHECK: <empty cursor info>

View File

@@ -63,7 +63,7 @@ Logger::~Logger() {
OS << llvm::format("%7.4f] ", TR.getWallTime() - sBeginTR.getWallTime());
OS << Msg.str();
llvm::errs() << LoggerName << ": " << LogMsg.str() << '\n';
fprintf(stderr, "%s: %s", LoggerName.c_str(), LogMsg.c_str());
#if __APPLE__
// Use the Apple System Log facility.

View File

@@ -459,6 +459,9 @@ bool SwiftASTManager::initCompilerInvocation(CompilerInvocation &Invocation,
// SwiftONoneSupport module.
FrontendOpts.RequestedAction = FrontendOptions::ActionType::Typecheck;
// We don't care about LLVMArgs
FrontendOpts.LLVMArgs.clear();
return false;
}