diff options
author | Dehao Chen <dehao@google.com> | 2015-11-11 18:08:18 +0000 |
---|---|---|
committer | Dehao Chen <dehao@google.com> | 2015-11-11 18:08:18 +0000 |
commit | 72fdf444b770fe8a7d355d5fe4793db664334302 (patch) | |
tree | b1c780d0331f718e2887f8992e07985b6627eb69 /llvm/lib/Support | |
parent | d4870df9bf3ba1428eefda3a41d77ea684f278eb (diff) | |
download | bcm5719-llvm-72fdf444b770fe8a7d355d5fe4793db664334302.tar.gz bcm5719-llvm-72fdf444b770fe8a7d355d5fe4793db664334302.zip |
Emit discriminator for inlined callsites.
Summary: Inlined callsites need to be emitted in debug info so that sample profile can be annotated to the correct inlined instance.
Reviewers: dnovillo, dblaikie
Subscribers: dblaikie, llvm-commits
Differential Revision: http://reviews.llvm.org/D14511
llvm-svn: 252768
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/Dwarf.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/Dwarf.cpp b/llvm/lib/Support/Dwarf.cpp index 13a41557a8d..a6d12725ed0 100644 --- a/llvm/lib/Support/Dwarf.cpp +++ b/llvm/lib/Support/Dwarf.cpp @@ -201,6 +201,7 @@ const char *llvm::dwarf::AttributeString(unsigned Attribute) { case DW_AT_GNU_addr_base: return "DW_AT_GNU_addr_base"; case DW_AT_GNU_pubnames: return "DW_AT_GNU_pubnames"; case DW_AT_GNU_pubtypes: return "DW_AT_GNU_pubtypes"; + case DW_AT_GNU_discriminator: return "DW_AT_GNU_discriminator"; } return nullptr; } |