aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib
diff options
context:
space:
mode:
authorYonghong Song <yhs@fb.com>2021-10-11 16:51:42 -0700
committerYonghong Song <yhs@fb.com>2021-10-11 20:57:31 -0700
commit325d000765eaaf547e775d4018ec8c92cb65a768 (patch)
tree4a370eac05a4d13293aad04b15800ee0c28dbeed /llvm/lib
parentb7c1ccd4229c0e4ea9da60a4853ac8759ba804c0 (diff)
downloadllvm-325d000765eaaf547e775d4018ec8c92cb65a768.zip
llvm-325d000765eaaf547e775d4018ec8c92cb65a768.tar.gz
llvm-325d000765eaaf547e775d4018ec8c92cb65a768.tar.bz2
[NFC][Attr] rename attribute btf_tag to btf_decl_tag
Per discussion in https://reviews.llvm.org/D111199, the existing btf_tag attribute will be renamed to btf_decl_tag. This patch mostly updated the Bitcode and DebugInfo test cases with new attribute name. Differential Revision: https://reviews.llvm.org/D111591
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
index e4cc035..d4a7808 100644
--- a/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
+++ b/llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
@@ -841,7 +841,7 @@ void DwarfUnit::addAnnotation(DIE &Buffer, DINodeArray Annotations) {
const MDNode *MD = cast<MDNode>(Annotation);
const MDString *Name = cast<MDString>(MD->getOperand(0));
- // Currently, only MDString is supported with btf_tag attribute.
+ // Currently, only MDString is supported with btf_decl_tag attribute.
const MDString *Value = cast<MDString>(MD->getOperand(1));
DIE &AnnotationDie = createAndAddDIE(dwarf::DW_TAG_LLVM_annotation, Buffer);