Correctly classify code sections as code sections by using the S_ATTR_PURE_INSTRUCTIO...
authorGreg Clayton <gclayton@apple.com>
Mon, 16 Jun 2014 22:53:16 +0000 (22:53 +0000)
committerGreg Clayton <gclayton@apple.com>
Mon, 16 Jun 2014 22:53:16 +0000 (22:53 +0000)
commit38f9cc425a7ef72ab5a2e9c50099bca8d174950b
treeef9ece206d8e0c3a9440ae872b65961dfb184248
parentccbf3d01f031011c47a60eebc94580d9251ae272
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>

llvm-svn: 211073
lldb/source/Plugins/ObjectFile/Mach-O/ObjectFileMachO.cpp