Revert "[x86] Exclusion of incorrect include headers paths for MCU target"
This reverts commit r254195. From the description, I suspect that the wrong patch was committed here, and this is causing assertion failures in EmitDeferred() when the global value ends up being a bitcast of a global. llvm-svn: 254823
This commit is contained in:
@@ -700,8 +700,7 @@ public:
|
||||
/// with the specified type instead of whatever the normal requested type
|
||||
/// would be.
|
||||
llvm::Constant *GetAddrOfGlobalVar(const VarDecl *D,
|
||||
llvm::Type *Ty = nullptr,
|
||||
bool IsForDefinition = false);
|
||||
llvm::Type *Ty = nullptr);
|
||||
|
||||
/// Return the address of the given function. If Ty is non-null, then this
|
||||
/// function will use the specified type if it has to create it.
|
||||
@@ -1130,8 +1129,7 @@ private:
|
||||
|
||||
llvm::Constant *GetOrCreateLLVMGlobal(StringRef MangledName,
|
||||
llvm::PointerType *PTy,
|
||||
const VarDecl *D,
|
||||
bool IsForDefinition = false);
|
||||
const VarDecl *D);
|
||||
|
||||
void setNonAliasAttributes(const Decl *D, llvm::GlobalObject *GO);
|
||||
|
||||
@@ -1142,7 +1140,7 @@ private:
|
||||
void EmitGlobalDefinition(GlobalDecl D, llvm::GlobalValue *GV = nullptr);
|
||||
|
||||
void EmitGlobalFunctionDefinition(GlobalDecl GD, llvm::GlobalValue *GV);
|
||||
void EmitGlobalVarDefinition(const VarDecl *D, bool IsTentative = false);
|
||||
void EmitGlobalVarDefinition(const VarDecl *D);
|
||||
void EmitAliasDefinition(GlobalDecl GD);
|
||||
void EmitObjCPropertyImplementations(const ObjCImplementationDecl *D);
|
||||
void EmitObjCIvarInitializations(ObjCImplementationDecl *D);
|
||||
|
||||
Reference in New Issue
Block a user