Replace 'mkdir' shell invocation by native function call.

Summary: Now that Host provide a MakeDirectory function, we can use it instead of relying on command line tool to create a directory.

CC: lldb-commits

Differential Revision: http://llvm-reviews.chandlerc.com/D2356

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196801 91177308-0d34-0410-b5e6-96231b3b80d8
Handle endianness in the Opcode class

Previously, an opcode set via SetOpcode32 (for example) was later
extracted via GetData() as a byte sequence in host order rather than
target order.

Review: http://llvm-reviews.chandlerc.com/D1838


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@196808 91177308-0d34-0410-b5e6-96231b3b80d8