aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-06-30 17:41:31 +0000
committerReid Kleckner <rnk@google.com>2016-06-30 17:41:31 +0000
commit31abd80fbee7215c898addff893e1f6f5479c8b1 (patch)
tree90b9b5281e9e83256078eae2ce80af8e7d7b9474 /llvm/lib/CodeGen/StackProtector.cpp
parent12e64d953f14fa645823d347682340aace36f26c (diff)
downloadllvm-31abd80fbee7215c898addff893e1f6f5479c8b1.zip
llvm-31abd80fbee7215c898addff893e1f6f5479c8b1.tar.gz
llvm-31abd80fbee7215c898addff893e1f6f5479c8b1.tar.bz2
[codeview] Emit qualified display names if -gline-tables-only is on
When -gmlt is on, we don't emit namespace or class scope information, and the CodeView emission code in LLVM can't compute the fully qualified name. If we know LLVM won't be able to get the name right, go ahead and emit the qualified name in the frontend. We could change our -gmlt emission strategy to include those scopes when emitting codeview, but that would increase memory usage and slow down LTO and add more complexity to debug info emission. The same problem exists when you debug a -gmlt binary with GDB, so we should consider removing '&& EmitCodeView' from the condition here at some point in the future after evaluating the impact on object file size. llvm-svn: 274246
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions