Skip to content

Commit 4f64c80

Browse files
committed
[llvm] Add missing include for !LLVM_ENABLE_THREADS
thread.h used report_fatal_error without including ErrorHandling.h
1 parent 96064e1 commit 4f64c80

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

llvm/include/llvm/Support/thread.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ inline thread::id get_id() { return std::this_thread::get_id(); }
213213

214214
#else // !LLVM_ENABLE_THREADS
215215

216+
#include "llvm/Support/ErrorHandling.h"
216217
#include <utility>
217218

218219
namespace llvm {

0 commit comments

Comments
 (0)