summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2018-07-10 23:48:27 +0000
committerRui Ueyama <ruiu@google.com>2018-07-10 23:48:27 +0000
commitf3731d4e9c7d8201c27992d8990efaeaa7297b4c (patch)
treec901e7b0eccd088ca826d420caaa911b6088dd1d /llvm/test
parentd2c739230ced8e1557c67bc661e91cf807be0a32 (diff)
downloadbcm5719-llvm-f3731d4e9c7d8201c27992d8990efaeaa7297b4c.tar.gz
bcm5719-llvm-f3731d4e9c7d8201c27992d8990efaeaa7297b4c.zip
Refactor GdbIndexSection. NFC.
This patch merges createGdbIndex function and GdbIndexSection's constructor into a single static member function of the class. This patch also change how we keep CU vectors. Previously, CuVector and GdbSymbols were parallel arrays, but there's no reason to choose that design. Now, CuVector is a member of GdbSymbol class. A lot of members are removed from GdbIndexSection. Previously, it has members that need to be kept in sync over several phases. I belive the new design is less error-prone, and the new code is much easier to read than before. llvm-svn: 336743
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud