summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/objc++-cpp-output.mm
diff options
context:
space:
mode:
authorNick Kledzik <kledzik@apple.com>2014-07-24 23:06:56 +0000
committerNick Kledzik <kledzik@apple.com>2014-07-24 23:06:56 +0000
commit21921375cc23d4958560b3280c2684c9c52baa62 (patch)
tree0eb10637cd0350312f9a2d326b95f7b735c87e73 /clang/test/Driver/objc++-cpp-output.mm
parent8ec1474f7f5f1673f6ea0bc47bdbded62fefde0e (diff)
downloadbcm5719-llvm-21921375cc23d4958560b3280c2684c9c52baa62.tar.gz
bcm5719-llvm-21921375cc23d4958560b3280c2684c9c52baa62.zip
[mach-o] Add support for LC_DATA_IN_CODE
Sometimes compilers emit data into code sections (e.g. constant pools or jump tables). These runs of data can throw off disassemblers. The solution in mach-o is that ranges of data-in-code are encoded into a table pointed to by the LC_DATA_IN_CODE load command. The way the data-in-code information is encoded into lld's Atom model is that that start and end of each data run is marked with a Reference whose offset is the start/end of the data run. For arm, the switch back to code also marks whether it is thumb or arm code. llvm-svn: 213901
Diffstat (limited to 'clang/test/Driver/objc++-cpp-output.mm')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud