summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVedant Kumar <vsk@apple.com>2017-12-12 03:27:13 +0000
committerVedant Kumar <vsk@apple.com>2017-12-12 03:27:13 +0000
commit08ff4043087e445c77ab5eb5008ab58f8623d473 (patch)
treed8272f3bebc3dce02dc242edbe52e13ad4e726d3
parente67a575dfb38acb02c25d583691603ca7cd883a5 (diff)
downloadbcm5719-llvm-08ff4043087e445c77ab5eb5008ab58f8623d473.tar.gz
bcm5719-llvm-08ff4043087e445c77ab5eb5008ab58f8623d473.zip
Avoid module import in a textual header, NFC
This unbreaks the lldb modules build (-DLLVM_ENABLE_MODULES=On). llvm-svn: 320456
-rw-r--r--lldb/source/Plugins/Process/Utility/RegisterInfos_x86_64.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/lldb/source/Plugins/Process/Utility/RegisterInfos_x86_64.h b/lldb/source/Plugins/Process/Utility/RegisterInfos_x86_64.h
index 8861ecd6680..2b3e4ed39ae 100644
--- a/lldb/source/Plugins/Process/Utility/RegisterInfos_x86_64.h
+++ b/lldb/source/Plugins/Process/Utility/RegisterInfos_x86_64.h
@@ -7,11 +7,8 @@
//
//===----------------------------------------------------------------------===//
-#include "llvm/Support/Compiler.h"
-#include <cstddef>
-#include <cstdint>
-
-// Project includes
+// This file is meant to be textually included. Do not #include modular
+// headers here.
// Computes the offset of the given GPR in the user data area.
#define GPR_OFFSET(regname) (LLVM_EXTENSION offsetof(GPR, regname))
OpenPOWER on IntegriCloud