reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

include/llvm/DebugInfo/DWARF/DWARFFormValue.h
  114   Optional<const char *> getAsCString() const;

References

include/llvm/DebugInfo/DWARF/DWARFFormValue.h
  163     return V->getAsCString();
  175     if (auto S = V->getAsCString())
lib/DebugInfo/DWARF/DWARFContext.cpp
 1036       if (Optional<const char *> Name = NameAttr->getAsCString())
 1050       if (Optional<const char *> Name = NameAttr->getAsCString())
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
 1030   if (Optional<const char *> source = Entry.Source.getAsCString())
 1049   StringRef FileName = Entry.Name.getAsCString().getValue();
 1061       IncludeDir = IncludeDirectories[Entry.DirIdx].getAsCString().getValue();
 1065           IncludeDirectories[Entry.DirIdx - 1].getAsCString().getValue();
lib/DebugInfo/DWARF/DWARFExpression.cpp
  267           OS << " \"" << Name->getAsCString() << "\"";
lib/DebugInfo/DWARF/DWARFFormValue.cpp
  576   Optional<const char *> DbgStr = getAsCString();
tools/dsymutil/DwarfLinker.cpp
  265     if (Optional<const char *> Name = Val->getAsCString()) {
 1018   const char *String = *Val.getAsCString();
tools/obj2yaml/dwarf2yaml.cpp
  190               if (auto Val = FormValue.getValue().getAsCString())
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
 1451   auto ActualCUPath = I->Value.getAsCString();
unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp
  199   EXPECT_STREQ(*Prologue.IncludeDirectories[0].getAsCString(), "a dir");
  202   EXPECT_STREQ(*Prologue.FileNames[0].Name.getAsCString(), "a file");
unittests/DebugInfo/DWARF/DwarfGenerator.cpp
  317     assert(Include.getAsCString() && "expected a string form for include dir");
  318     writeCString(*Include.getAsCString(), Asm);
  323     assert(File.Name.getAsCString() && "expected a string form for file name");
  324     writeCString(*File.Name.getAsCString(), Asm);
  341     assert(Include.getAsCString() && "expected a string form for include dir");
  342     writeCString(*Include.getAsCString(), Asm);
  350     assert(File.Name.getAsCString() && "expected a string form for file name");
  351     writeCString(*File.Name.getAsCString(), Asm);