diff options
| author | Zachary Turner <zturner@google.com> | 2016-08-09 23:06:08 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2016-08-09 23:06:08 +0000 |
| commit | f343968f5d87a91e020a5baf03c280ce7aa9cdb1 (patch) | |
| tree | 435027dd511241ce0ff6c4791e37c87648c35697 /lldb/source/Target/ThreadPlanPython.cpp | |
| parent | cef001aaaa679665f9ca59873ca954c161f90ca5 (diff) | |
| download | bcm5719-llvm-f343968f5d87a91e020a5baf03c280ce7aa9cdb1.tar.gz bcm5719-llvm-f343968f5d87a91e020a5baf03c280ce7aa9cdb1.zip | |
Delete Host/windows/win32.h
It's always hard to remember when to include this file, and
when you do include it it's hard to remember what preprocessor
check it needs to be behind, and then you further have to remember
whether it's windows.h or win32.h which you need to include.
This patch changes the name to PosixApi.h, which is more appropriately
named, and makes it independent of any preprocessor setting.
There's still the issue of people not knowing when to include this,
because there's not a well-defined set of things it exposes other
than "whatever is missing on Windows", but at least this should
make it less painful to fix when problems arise.
This patch depends on LLVM revision r278170.
llvm-svn: 278177
Diffstat (limited to 'lldb/source/Target/ThreadPlanPython.cpp')
| -rw-r--r-- | lldb/source/Target/ThreadPlanPython.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lldb/source/Target/ThreadPlanPython.cpp b/lldb/source/Target/ThreadPlanPython.cpp index 470e7f6b1cb..39a8d77d43a 100644 --- a/lldb/source/Target/ThreadPlanPython.cpp +++ b/lldb/source/Target/ThreadPlanPython.cpp @@ -83,7 +83,7 @@ ThreadPlanPython::ShouldStop (Event *event_ptr) Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_THREAD)); if (log) log->Printf ("%s called on Python Thread Plan: %s )", - __PRETTY_FUNCTION__, m_class_name.c_str()); + LLVM_PRETTY_FUNCTION, m_class_name.c_str()); bool should_stop = true; if (m_implementation_sp) @@ -106,7 +106,7 @@ ThreadPlanPython::IsPlanStale() Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_THREAD)); if (log) log->Printf ("%s called on Python Thread Plan: %s )", - __PRETTY_FUNCTION__, m_class_name.c_str()); + LLVM_PRETTY_FUNCTION, m_class_name.c_str()); bool is_stale = true; if (m_implementation_sp) @@ -129,7 +129,7 @@ ThreadPlanPython::DoPlanExplainsStop (Event *event_ptr) Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_THREAD)); if (log) log->Printf ("%s called on Python Thread Plan: %s )", - __PRETTY_FUNCTION__, m_class_name.c_str()); + LLVM_PRETTY_FUNCTION, m_class_name.c_str()); bool explains_stop = true; if (m_implementation_sp) @@ -152,7 +152,7 @@ ThreadPlanPython::MischiefManaged () Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_THREAD)); if (log) log->Printf ("%s called on Python Thread Plan: %s )", - __PRETTY_FUNCTION__, m_class_name.c_str()); + LLVM_PRETTY_FUNCTION, m_class_name.c_str()); bool mischief_managed = true; if (m_implementation_sp) { @@ -170,7 +170,7 @@ ThreadPlanPython::GetPlanRunState () Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_THREAD)); if (log) log->Printf ("%s called on Python Thread Plan: %s )", - __PRETTY_FUNCTION__, + LLVM_PRETTY_FUNCTION, m_class_name.c_str()); lldb::StateType run_state = eStateRunning; if (m_implementation_sp) @@ -207,6 +207,6 @@ ThreadPlanPython::WillStop () Log *log(lldb_private::GetLogIfAllCategoriesSet (LIBLLDB_LOG_THREAD)); if (log) log->Printf ("%s called on Python Thread Plan: %s )", - __PRETTY_FUNCTION__, m_class_name.c_str()); + LLVM_PRETTY_FUNCTION, m_class_name.c_str()); return true; } |

