Avoid module import in a textual header, NFC

This unbreaks the lldb modules build (-DLLVM_ENABLE_MODULES=On).

llvm-svn: 320456
This commit is contained in:
Vedant Kumar
2017-12-12 03:27:13 +00:00
parent e67a575dfb
commit 08ff404308

View File

@@ -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))