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