diff options
author | Chandler Carruth <chandlerc@gmail.com> | 2015-07-23 07:50:52 +0000 |
---|---|---|
committer | Chandler Carruth <chandlerc@gmail.com> | 2015-07-23 07:50:52 +0000 |
commit | 8e4357d137d1220de9a0c4bfdc4449e91c9abe27 (patch) | |
tree | 205588cb43655290cdd766e510099a897c394593 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp | |
parent | da1b2ea9557da12050ed8ff6449e2511e9bcf48e (diff) | |
download | llvm-8e4357d137d1220de9a0c4bfdc4449e91c9abe27.zip llvm-8e4357d137d1220de9a0c4bfdc4449e91c9abe27.tar.gz llvm-8e4357d137d1220de9a0c4bfdc4449e91c9abe27.tar.bz2 |
[GMR] Switch the function info we store for every function to be a much
more dense datastructure. We actually only have 3 bits of information
and an often-null pointer here. This fits very nicely into a
pointer-size value in the DenseMap from Function -> Info. Then we take
one more pointer hop to get to a secondary DenseMap from GlobalValue ->
ModRefInfo when we actually have precise info for particular globals.
This is more code than I would really like to do this packing, but it
ended up reasonably cleanly laid out. It should ensure we don't hit
scaling limitations with more widespread use of GMR.
llvm-svn: 242991
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationServerLLGS.cpp')
0 files changed, 0 insertions, 0 deletions