The architecture check is in case you have a universal file that contains both 
x86_64 and i386, you might set the architecture to specify you want to run 
(debug more like it) the i386 slice even though you are on a 64 bit system 
(MacOSX supports this). For running a shell command, just let the system do 
what it needs to do and launch it using the best slice it can and don't set the 
architecture in the launch info.

So please remove "launch_info.SetArchitecture(HostInfo::GetArchitecture());" 
from Host::RunShellCommand().

http://reviews.llvm.org/D6553



_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to