summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorPete Cooper <peter_cooper@apple.com>2015-05-20 19:50:03 +0000
committerPete Cooper <peter_cooper@apple.com>2015-05-20 19:50:03 +0000
commit35522001faa829308aa9aec5601c1a1ab5fb290c (patch)
tree8a67a99e404a9090c37e90a3c3a0927cc80c925c /llvm/lib/Target
parente8fb3a220a91db6fd5e9214375540f7ea0bb3a67 (diff)
downloadbcm5719-llvm-35522001faa829308aa9aec5601c1a1ab5fb290c.tar.gz
bcm5719-llvm-35522001faa829308aa9aec5601c1a1ab5fb290c.zip
Add bool to DebugLocDwarfExpression to control emitting comments.
DebugLocDwarfExpression::EmitOp was creating temporary strings by concatenating Twine's. When emitting to object files, these comments are thrown away. This commit adds a boolean to the constructor of the DwarfExpression to control whether it will actually emit any comments. This prevents it from even generating the temporary comments which would have been thrown away anyway. llvm-svn: 237827
Diffstat (limited to 'llvm/lib/Target')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud