13 #ifndef LLVM_CLANG_BASIC_XRAYLISTS_H
14 #define LLVM_CLANG_BASIC_XRAYLISTS_H
19 #include "llvm/ADT/ArrayRef.h"
20 #include "llvm/ADT/StringRef.h"
21 #include "llvm/Support/SpecialCaseList.h"
27 std::unique_ptr<llvm::SpecialCaseList> AlwaysInstrument;
28 std::unique_ptr<llvm::SpecialCaseList> NeverInstrument;
47 StringRef
Category = StringRef())
const;
50 StringRef
Category = StringRef())
const;
Defines the SourceManager interface.
Forward-declares and imports various common LLVM datatypes that clang wants to use unqualified...
ImbueAttribute shouldImbueFunctionsInFile(StringRef Filename, StringRef Category=StringRef()) const
ImbueAttribute shouldImbueLocation(SourceLocation Loc, StringRef Category=StringRef()) const
XRayFunctionFilter(ArrayRef< std::string > AlwaysInstrumentPaths, ArrayRef< std::string > NeverInstrumentPaths, SourceManager &SM)
Encodes a location in the source.
ImbueAttribute shouldImbueFunction(StringRef FunctionName) const
Defines the clang::SourceLocation class and associated facilities.
This class handles loading and caching of source files into memory.