From 45312f68279cc40e17ac561e1b8d129799a8afb6 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 28 Jan 2020 13:59:28 -0800 Subject: [PATCH 1/2] Fix typo --- lldb/source/Host/common/FileSystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Host/common/FileSystem.cpp b/lldb/source/Host/common/FileSystem.cpp index 045aa49cc2407..6deed358558a9 100644 --- a/lldb/source/Host/common/FileSystem.cpp +++ b/lldb/source/Host/common/FileSystem.cpp @@ -470,6 +470,6 @@ ErrorOr FileSystem::GetExternalPath(const FileSpec &file_spec) { void FileSystem::AddFile(const llvm::Twine &file) { if (m_collector && !llvm::sys::fs::is_directory(file)) { - m_collector->addFile(file); + m_collector->AddFile(file); } } From 24f1cf0fa37e53bcf4fbb2c43e8fc0ad8957c0b4 Mon Sep 17 00:00:00 2001 From: Jonas Devlieghere Date: Tue, 28 Jan 2020 14:00:04 -0800 Subject: [PATCH 2/2] Use the old %clang substitution --- lldb/lit/Settings/command-breakpoint-col.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/lit/Settings/command-breakpoint-col.test b/lldb/lit/Settings/command-breakpoint-col.test index 65c1e22079430..b926169cc3a32 100644 --- a/lldb/lit/Settings/command-breakpoint-col.test +++ b/lldb/lit/Settings/command-breakpoint-col.test @@ -1,6 +1,6 @@ # UNSUPPORTED: system-windows # -# RUN: %clang_host -g -O0 %S/Inputs/main.c -o %t.out +# RUN: %clang -g -O0 %S/Inputs/main.c -o %t.out # RUN: %lldb -b -o 'help breakpoint set' -o 'breakpoint set -f main.c -l 2 -u 21' %t.out | FileCheck %s --check-prefix HELP --check-prefix CHECK # RUN: %lldb -b -o 'help _regexp-break' -o 'b main.c:2:21' %t.out | FileCheck %s --check-prefix HELP-REGEX --check-prefix CHECK # HELP: -u ( --column )