summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/Utility
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2012-03-14 03:07:05 +0000
committerGreg Clayton <gclayton@apple.com>2012-03-14 03:07:05 +0000
commitd64afba584c9622f777f1b9910007b28e6c04da6 (patch)
treefd77bb4902db63051a1ebc04500f5b191fe05785 /lldb/source/Plugins/Process/Utility
parenta9916d0296fc74bb40aa2e02a1f42bdf4b4239a4 (diff)
downloadbcm5719-llvm-d64afba584c9622f777f1b9910007b28e6c04da6.tar.gz
bcm5719-llvm-d64afba584c9622f777f1b9910007b28e6c04da6.zip
<rdar://problem/10434005>
Prepare LLDB to be built with C++11 by hiding all accesses to std::tr1 behind macros that allows us to easily compile for either C++. llvm-svn: 152698
Diffstat (limited to 'lldb/source/Plugins/Process/Utility')
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h2
-rw-r--r--lldb/source/Plugins/Process/Utility/UnwindLLDB.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
index cdb0ccbc325..3a7aa67a8bb 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
+++ b/lldb/source/Plugins/Process/Utility/RegisterContextLLDB.h
@@ -25,7 +25,7 @@ class UnwindLLDB;
class RegisterContextLLDB : public lldb_private::RegisterContext
{
public:
- typedef SHARED_PTR(RegisterContextLLDB) SharedPtr;
+ typedef STD_SHARED_PTR(RegisterContextLLDB) SharedPtr;
RegisterContextLLDB (lldb_private::Thread &thread,
const SharedPtr& next_frame,
diff --git a/lldb/source/Plugins/Process/Utility/UnwindLLDB.h b/lldb/source/Plugins/Process/Utility/UnwindLLDB.h
index ff4030f6364..7d1c8a1f146 100644
--- a/lldb/source/Plugins/Process/Utility/UnwindLLDB.h
+++ b/lldb/source/Plugins/Process/Utility/UnwindLLDB.h
@@ -70,7 +70,7 @@ protected:
lldb::RegisterContextSP
DoCreateRegisterContextForFrame (lldb_private::StackFrame *frame);
- typedef SHARED_PTR(RegisterContextLLDB) RegisterContextLLDBSP;
+ typedef STD_SHARED_PTR(RegisterContextLLDB) RegisterContextLLDBSP;
// Needed to retrieve the "next" frame (e.g. frame 2 needs to retrieve frame 1's RegisterContextLLDB)
// The RegisterContext for frame_num must already exist or this returns an empty shared pointer.
@@ -97,7 +97,7 @@ private:
DISALLOW_COPY_AND_ASSIGN (Cursor);
};
- typedef SHARED_PTR(Cursor) CursorSP;
+ typedef STD_SHARED_PTR(Cursor) CursorSP;
std::vector<CursorSP> m_frames;
bool m_unwind_complete; // If this is true, we've enumerated all the frames in the stack, and m_frames.size() is the
// number of frames, etc. Otherwise we've only gone as far as directly asked, and m_frames.size()
OpenPOWER on IntegriCloud