summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Bitcode
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-17 02:30:20 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-04-17 02:30:20 +0000
commit05ebfd09382b8dc8cd26eaf8fb91fb73ce48290e (patch)
tree92e6efb5cab9251fd4ec1425cf2bc3be61340af2 /llvm/lib/Bitcode
parent25fd344aa4d69b18b1328c0a8b89dc539506a582 (diff)
downloadbcm5719-llvm-05ebfd09382b8dc8cd26eaf8fb91fb73ce48290e.tar.gz
bcm5719-llvm-05ebfd09382b8dc8cd26eaf8fb91fb73ce48290e.zip
IR: Use ODR to unique DICompositeType members
Merge members that are describing the same member of the same ODR type, even if other bits differ. If the file or line differ, we don't care; if anything else differs, it's an ODR violation (and we still don't really care). For DISubprogram declarations, this looks at the LinkageName and Scope. For DW_TAG_member instances of DIDerivedType, this looks at the Name and Scope. In both cases, we know that the Scope follows ODR rules if it has a non-empty identifier. llvm-svn: 266548
Diffstat (limited to 'llvm/lib/Bitcode')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud