[llvm] 72b8bad - [lldb/Hexagon] Include <mutex>
Jonas Devlieghere via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 21 09:51:48 PST 2020
Author: Jonas Devlieghere
Date: 2020-01-21T09:51:30-08:00
New Revision: 72b8bad1505b4bc0b5703c2812ce6ca9a3c29f41
URL: https://github.com/llvm/llvm-project/commit/72b8bad1505b4bc0b5703c2812ce6ca9a3c29f41
DIFF: https://github.com/llvm/llvm-project/commit/72b8bad1505b4bc0b5703c2812ce6ca9a3c29f41.diff
LOG: [lldb/Hexagon] Include <mutex>
Fixes compiler error on macOS: error: no type named 'mutex' in namespace
'std'.
Added:
Modified:
llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
index 5d701a1a1585..aa038572adc5 100644
--- a/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
+++ b/llvm/lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp
@@ -37,6 +37,7 @@
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <cstdint>
+#include <mutex>
#include <new>
#include <string>
#include <unordered_map>
More information about the llvm-commits
mailing list