14 #ifndef EVENT_LISTENER_COMMON_H
15 #define EVENT_LISTENER_COMMON_H
25 namespace jitprofiling {
36 std::string &Filename = Filenames[Scope];
37 if (Filename.empty()) {
41 return Filename.c_str();
45 std::string &
P = Paths[Scope];
51 if (DirName !=
"." && DirName !=
"") {
67 #endif //EVENT_LISTENER_COMMON_H
MDNode - a tuple of other values.
const char * getFilename(MDNode *Scope)
void append(SmallVectorImpl< char > &path, const Twine &a, const Twine &b="", const Twine &c="", const Twine &d="")
Append to path.
StringRef getDirectory() const
StringRef getFilename() const
DIScope - A base class for various scopes.
const char * getFullPath(MDNode *Scope)
StringRef str() const
Explicit conversion to StringRef.