Correctly classify code sections as code sections by using the S_ATTR_PURE_INSTRUCTIONS and S_ATTR_SOME_INSTRUCTIONS section flags.

Also correctly set the symbol type of symbols for S_REGULAR and other section types.

<rdar://problem/16896734>



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@211073 91177308-0d34-0410-b5e6-96231b3b80d8
Don't hardcode path to codesign_allocate.

Building OS X debugserver assumes you have an Xcode installation at /Application/Xcode.app. Let's instead detect where Xcode is using xcrun.

See http://reviews.llvm.org/D4152





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