[PATCH] D28704: Add a variant of DWARFDie::find() and DWARFDie::findRecursively() that takes a llvm::ArrayRef<dwarf::Attribute>.

NAKAMURA Takumi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 07:32:31 PST 2017


chapuni added inline comments.


================
Comment at: llvm/trunk/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp:1530
+
+  ArrayRef<dwarf::Attribute>
+      Attrs = { DW_AT_linkage_name, DW_AT_MIPS_linkage_name };
----------------
ArrayRef's constructor receives the initializer as temporary object. Fixed in r292127.


Repository:
  rL LLVM

https://reviews.llvm.org/D28704





More information about the llvm-commits mailing list