Index: src/IceTargetLoweringX86BaseImpl.h |
diff --git a/src/IceTargetLoweringX86BaseImpl.h b/src/IceTargetLoweringX86BaseImpl.h |
index ad0602a3eab67215dc209f96083aad17ee807e08..88c0fa9ec2f3eb1a9478d68a17ef69dce735287d 100644 |
--- a/src/IceTargetLoweringX86BaseImpl.h |
+++ b/src/IceTargetLoweringX86BaseImpl.h |
@@ -7097,7 +7097,7 @@ template <class Machine> |
void TargetX86Base<Machine>::emit(const ConstantRelocatable *C) const { |
if (!BuildDefs::dump()) |
return; |
- assert(!Ctx->getFlags().getUseNonsfi()); |
+ assert(!Ctx->getFlags().getUseNonsfi() || C->getName() == GlobalOffsetTable); |
Ostream &Str = Ctx->getStrEmit(); |
Str << "$"; |
emitWithoutPrefix(C); |