From ff5b497c1f3cf0c529927e48096c5226c38f9675 Mon Sep 17 00:00:00 2001 From: Michael Sartain Date: Sat, 15 Jun 2013 00:25:52 +0000 Subject: [PATCH] Fix unitialized variable in AuxVector::GetEntryName() which crashed in AuxVector::DumpToLog llvm-svn: 184023 --- lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp index 05cc7172d703..f5a36209d01d 100644 --- a/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp +++ b/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/AuxVector.cpp @@ -124,7 +124,7 @@ AuxVector::DumpToLog(Log *log) const const char * AuxVector::GetEntryName(EntryType type) { - const char *name; + const char *name = "AT_???"; #define ENTRY_NAME(_type) _type: name = #_type switch (type)