[PATCH] D27727: Switch DWARFDie::getAttributeValueAsString() to return an llvm::Optional<const char *>.

Greg Clayton via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 12:52:55 PST 2016


clayborg created this revision.
clayborg added reviewers: dblaikie, aprantl, echristo, probinson, llvm-commits.
Herald added subscribers: jgosnell, mehdi_amini.

I will be changing all DWARFDie::getAttributeValueAsXXX() over to return llvm::Optional one by one. Starting with string values.


https://reviews.llvm.org/D27727

Files:
  include/llvm/DebugInfo/DWARF/DWARFDie.h
  lib/DebugInfo/DWARF/DWARFDie.cpp
  lib/DebugInfo/DWARF/DWARFUnit.cpp
  tools/dsymutil/DwarfLinker.cpp
  unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27727.81287.patch
Type: text/x-patch
Size: 9357 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161213/35bde75d/attachment.bin>


More information about the llvm-commits mailing list