forked from OSchip/llvm-project
A fix of the bug introduced by previous lowering in asm patch.
Differential Revision: https://reviews.llvm.org/D70243
This commit is contained in:
parent
5665fc91fe
commit
750e855641
|
@ -1905,7 +1905,6 @@ MCSection *TargetLoweringObjectFileXCOFF::getSectionForConstant(
|
|||
const DataLayout &DL, SectionKind Kind, const Constant *C,
|
||||
unsigned &Align) const {
|
||||
//TODO: Enable emiting constant pool to unique sections when we support it.
|
||||
if (Kind.isReadOnly() && ReadOnlySection != nullptr)
|
||||
return ReadOnlySection;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue