summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2014-08-21 22:45:21 +0000
committerDavid Blaikie <dblaikie@gmail.com>2014-08-21 22:45:21 +0000
commit2f3f76fdb14a25fa27773bf415f61d7b10d53d62 (patch)
tree08752e73a58574306840eb1ead039fd731e07a3d /llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp
parent3e9af0dd1d1b6c5ce4164b9eedda7512b4761027 (diff)
downloadbcm5719-llvm-2f3f76fdb14a25fa27773bf415f61d7b10d53d62.tar.gz
bcm5719-llvm-2f3f76fdb14a25fa27773bf415f61d7b10d53d62.zip
Use DILexicalBlockFile, rather than DILexicalBlock, to track discriminator changes to ensure discriminator changes don't introduce new DWARF DW_TAG_lexical_blocks.
Somewhat unnoticed in the original implementation of discriminators, but it could cause instructions to end up in new, small, DW_TAG_lexical_blocks due to the use of DILexicalBlock to track discriminator changes. Instead, use DILexicalBlockFile which we already use to track file changes without introducing new scopes, so it works well to track discriminator changes in the same way. llvm-svn: 216239
Diffstat (limited to 'llvm/lib/Target/Sparc/MCTargetDesc/SparcELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud