23 Fullpath = std::string(
Locations[Index].Dir);
28 Fullpath.assign(Storage.
begin(), Storage.
end());
50 OS <<
"<invalid-file>";
61 for (
size_t I = 0;
I < NumLocations; ++
I) {
66 const bool IsInlined =
I + 1 != NumLocations;
This file defines the SmallString class.
SmallString - A SmallString is just a SmallVector with methods and accessors that make it work better...
constexpr bool empty() const
empty - Check if the string is empty.
constexpr size_t size() const
size - Get the string size.
bool contains(StringRef Other) const
Return true if the given string is a substring of *this, and false otherwise.
This class implements an extremely fast bulk output stream that can only output to a stream.
raw_ostream & indent(unsigned NumSpaces)
indent - Insert 'NumSpaces' spaces.
raw_ostream & operator<<(raw_ostream &OS, const CallSiteInfo &CSI)
void append(SmallVectorImpl< char > &path, const Twine &a, const Twine &b="", const Twine &c="", const Twine &d="")
Append to path.
This is an optimization pass for GlobalISel generic memory operations.
uint64_t LookupAddr
The address that this lookup pertains to.
std::string getSourceFile(uint32_t Index) const
SourceLocations Locations
The source locations that match this address.
StringRef Base
Line entry source file basename.
uint32_t Line
Source file line number.
uint32_t Offset
Byte size offset within the named function.
StringRef Dir
Line entry source file directory path.
StringRef Name
Function or symbol name.