diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2020-07-31 21:22:58 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2020-07-31 21:22:58 +0000 |
commit | 5ffd83dbcc34f10e07f6d3e968ae6365869615f4 (patch) | |
tree | 0e9f5cf729dde39f949698fddef45a34e2bc7f44 /contrib/llvm-project/clang/lib/Basic/XRayLists.cpp | |
parent | 1799696096df87b52968b8996d00c91e0a5de8d9 (diff) | |
parent | cfca06d7963fa0909f90483b42a6d7d194d01e08 (diff) |
Notes
Diffstat (limited to 'contrib/llvm-project/clang/lib/Basic/XRayLists.cpp')
-rw-r--r-- | contrib/llvm-project/clang/lib/Basic/XRayLists.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/llvm-project/clang/lib/Basic/XRayLists.cpp b/contrib/llvm-project/clang/lib/Basic/XRayLists.cpp index 222a28f79cc5..6d34617d4795 100644 --- a/contrib/llvm-project/clang/lib/Basic/XRayLists.cpp +++ b/contrib/llvm-project/clang/lib/Basic/XRayLists.cpp @@ -9,7 +9,11 @@ // User-provided filters for always/never XRay instrumenting certain functions. // //===----------------------------------------------------------------------===// + #include "clang/Basic/XRayLists.h" +#include "clang/Basic/FileManager.h" +#include "clang/Basic/SourceManager.h" +#include "llvm/Support/SpecialCaseList.h" using namespace clang; @@ -25,6 +29,8 @@ XRayFunctionFilter::XRayFunctionFilter( AttrListPaths, SM.getFileManager().getVirtualFileSystem())), SM(SM) {} +XRayFunctionFilter::~XRayFunctionFilter() = default; + XRayFunctionFilter::ImbueAttribute XRayFunctionFilter::shouldImbueFunction(StringRef FunctionName) const { // First apply the always instrument list, than if it isn't an "always" see |