aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2015-02-25 20:42:41 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2015-02-25 20:42:41 +0000
commiteba7f73ff953c4b8d4e26abbc9d4e76142b8fb8c (patch)
tree4838b6258e3bbfa686e093526239a2cdfc058a81 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp
parent66bc9080d6d5ef4904f25d70c374a3dc2c218c9f (diff)
downloadllvm-eba7f73ff953c4b8d4e26abbc9d4e76142b8fb8c.zip
llvm-eba7f73ff953c4b8d4e26abbc9d4e76142b8fb8c.tar.gz
llvm-eba7f73ff953c4b8d4e26abbc9d4e76142b8fb8c.tar.bz2
LowerBitSets: Align referenced globals.
This change aligns globals to the next highest power of 2 bytes, up to a maximum of 128. This makes it more likely that we will be able to compress bit sets with a greater alignment. In many more cases, we can now take advantage of a new optimization also introduced in this patch that removes bit set checks if the bit set is all ones. The 128 byte maximum was found to provide the best tradeoff between instruction overhead and data overhead in a recent build of Chromium. It allows us to remove ~2.4MB of instructions at the cost of ~250KB of data. Differential Revision: http://reviews.llvm.org/D7873 llvm-svn: 230540
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerCommon.cpp')
0 files changed, 0 insertions, 0 deletions