aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorAmy Huang <akhuang@google.com>2021-01-28 15:28:16 -0800
committerAmy Huang <akhuang@google.com>2021-01-28 16:30:38 -0800
commitd73564c510036b2d4f5858effdcd23fe54fc1063 (patch)
tree34358f5033c9e701b3075519dfb96aa01b3cce98 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parentbe62b3ba347d8d9e7ada364ddc9e16d7ddd05b8e (diff)
downloadllvm-d73564c510036b2d4f5858effdcd23fe54fc1063.zip
llvm-d73564c510036b2d4f5858effdcd23fe54fc1063.tar.gz
llvm-d73564c510036b2d4f5858effdcd23fe54fc1063.tar.bz2
[DebugInfo][CodeView] Use <lambda_n> as the display name for lambdas.
Currently (for codeview) lambdas have a string like `<lambda_0>` in their mangled name, and don't have any display name. This change uses the `<lambda_0>` as the display name, which helps distinguish between lambdas in -gline-tables-only, since there are no linkage names there. It also changes how we display lambda names; previously we used `<unnamed-tag>`; now it will show `<lambda_0>`. I added a function to the mangling context code to create this string; for Itanium it just returns an empty string. Bug: https://bugs.llvm.org/show_bug.cgi?id=48432 Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D95187
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions