projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
918a6b0
)
Add comment explaining the default constructor (ArchSpec) used in CreateTarget().
author
Johnny Chen
<johnny.chen@apple.com>
Thu, 5 Jan 2012 01:26:01 +0000
(
01:26
+0000)
committer
Johnny Chen
<johnny.chen@apple.com>
Thu, 5 Jan 2012 01:26:01 +0000
(
01:26
+0000)
llvm-svn: 147590
lldb/source/Target/TargetList.cpp
patch
|
blob
|
history
diff --git
a/lldb/source/Target/TargetList.cpp
b/lldb/source/Target/TargetList.cpp
index
eec77fb
..
b6e5d29
100644
(file)
--- a/
lldb/source/Target/TargetList.cpp
+++ b/
lldb/source/Target/TargetList.cpp
@@
-72,6
+72,9
@@
TargetList::CreateTarget (Debugger &debugger,
if (!platform_sp)
platform_sp = debugger.GetPlatformList().GetSelectedPlatform ();
+ // This is purposely left empty unless it is specified by triple_cstr.
+ // If not initialized via triple_cstr, then the currently selected platform
+ // will set the architecture correctly.
ArchSpec arch;
if (triple_cstr)