summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/IPO
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2017-06-21 17:25:56 +0000
committerReid Kleckner <rnk@google.com>2017-06-21 17:25:56 +0000
commitd0e6e24a53b35202110e8512de3ac0f247f1ae4f (patch)
tree4a3b56611d4e087122e008bde54f34f1d71a5329 /llvm/lib/Transforms/IPO
parent84dbbfdeb92085452ebd5966e3a73379a0f4240d (diff)
downloadbcm5719-llvm-d0e6e24a53b35202110e8512de3ac0f247f1ae4f.tar.gz
bcm5719-llvm-d0e6e24a53b35202110e8512de3ac0f247f1ae4f.zip
[PDB] Add symbols to the PDB
Summary: The main complexity in adding symbol records is that we need to "relocate" all the type indices. Type indices do not have anything like relocations, an opaque data structure describing where to find existing type indices for fixups. The linker just has to "know" where the type references are in the symbol records. I added an overload of `discoverTypeIndices` that works on symbol records, and it seems to be able to link the standard library. Reviewers: zturner, ruiu Subscribers: llvm-commits, hiraditya Differential Revision: https://reviews.llvm.org/D34432 llvm-svn: 305933
Diffstat (limited to 'llvm/lib/Transforms/IPO')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud