diff options
| author | Sylvestre Ledru <sylvestre@debian.org> | 2019-11-16 14:39:59 +0100 |
|---|---|---|
| committer | Sylvestre Ledru <sylvestre@debian.org> | 2019-11-16 14:43:46 +0100 |
| commit | 114f3e5b08afe9a9034d1a09aa9a880afeed9091 (patch) | |
| tree | 60ef4bc3bea81c4f48c7bf7a3b274a6f2475c4ce /llvm/lib | |
| parent | 57776f71fa32a5b170a9ce82cb2c2da0a207908c (diff) | |
| download | bcm5719-llvm-114f3e5b08afe9a9034d1a09aa9a880afeed9091.tar.gz bcm5719-llvm-114f3e5b08afe9a9034d1a09aa9a880afeed9091.zip | |
Fix a build failure with perf: Add a missing include to llvm/Support/ManagedStatic.h
It was failing with
PerfJITEventListener.cpp:489:7: error: 'ManagedStatic' in namespace 'llvm' does not name a template type
llvm::ManagedStatic<PerfJITEventListener> PerfListener;
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp b/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp index 184388dc4d7..cc196df3b2f 100644 --- a/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp +++ b/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp @@ -24,6 +24,7 @@ #include "llvm/Support/Debug.h" #include "llvm/Support/Errno.h" #include "llvm/Support/FileSystem.h" +#include "llvm/Support/ManagedStatic.h" #include "llvm/Support/MemoryBuffer.h" #include "llvm/Support/Mutex.h" #include "llvm/Support/Path.h" |

