[Lldb-commits] [lldb] r367152 - [TableGen] Fix stale include paths
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Fri Jul 26 13:55:07 PDT 2019
Author: jdevlieghere
Date: Fri Jul 26 13:55:07 2019
New Revision: 367152
URL: http://llvm.org/viewvc/llvm-project?rev=367152&view=rev
Log:
[TableGen] Fix stale include paths
This worked locally because the include files were not regenerated, but
fails when performing a clean build.
Modified:
lldb/trunk/source/Core/Debugger.cpp
lldb/trunk/source/Core/ModuleList.cpp
Modified: lldb/trunk/source/Core/Debugger.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/Debugger.cpp?rev=367152&r1=367151&r2=367152&view=diff
==============================================================================
--- lldb/trunk/source/Core/Debugger.cpp (original)
+++ lldb/trunk/source/Core/Debugger.cpp Fri Jul 26 13:55:07 2019
@@ -204,12 +204,12 @@ static constexpr OptionEnumValueElement
static constexpr PropertyDefinition g_properties[] = {
#define LLDB_PROPERTIES_debugger
-#include "lldb/Core/Properties.inc"
+#include "Properties.inc"
};
enum {
#define LLDB_PROPERTIES_debugger
-#include "lldb/Core/PropertiesEnum.inc"
+#include "PropertiesEnum.inc"
};
LoadPluginCallbackType Debugger::g_load_plugin_callback = nullptr;
Modified: lldb/trunk/source/Core/ModuleList.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Core/ModuleList.cpp?rev=367152&r1=367151&r2=367152&view=diff
==============================================================================
--- lldb/trunk/source/Core/ModuleList.cpp (original)
+++ lldb/trunk/source/Core/ModuleList.cpp Fri Jul 26 13:55:07 2019
@@ -67,12 +67,12 @@ namespace {
static constexpr PropertyDefinition g_properties[] = {
#define LLDB_PROPERTIES_modulelist
-#include "lldb/Core/Properties.inc"
+#include "Properties.inc"
};
enum {
#define LLDB_PROPERTIES_modulelist
-#include "lldb/Core/PropertiesEnum.inc"
+#include "PropertiesEnum.inc"
};
} // namespace
@@ -126,9 +126,9 @@ ModuleList::ModuleList(ModuleList::Notif
const ModuleList &ModuleList::operator=(const ModuleList &rhs) {
if (this != &rhs) {
std::lock(m_modules_mutex, rhs.m_modules_mutex);
- std::lock_guard<std::recursive_mutex> lhs_guard(m_modules_mutex,
+ std::lock_guard<std::recursive_mutex> lhs_guard(m_modules_mutex,
std::adopt_lock);
- std::lock_guard<std::recursive_mutex> rhs_guard(rhs.m_modules_mutex,
+ std::lock_guard<std::recursive_mutex> rhs_guard(rhs.m_modules_mutex,
std::adopt_lock);
m_modules = rhs.m_modules;
}
@@ -146,8 +146,8 @@ void ModuleList::AppendImpl(const Module
}
}
-void ModuleList::Append(const ModuleSP &module_sp, bool notify) {
- AppendImpl(module_sp, notify);
+void ModuleList::Append(const ModuleSP &module_sp, bool notify) {
+ AppendImpl(module_sp, notify);
}
void ModuleList::ReplaceEquivalent(const ModuleSP &module_sp) {
More information about the lldb-commits
mailing list