diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-08-08 06:56:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-08-08 06:56:16 +0000 |
commit | 711b6dce246c87b5d830966bed823d0e7aa15300 (patch) | |
tree | 9ecbf910a5d51f5486b38f2db97d122569501a6a /lib/Target/Mips/MipsTargetAsmInfo.h | |
parent | 15621a2569c3789a00624aaa0d255eaf3f130b63 (diff) | |
download | external_llvm-711b6dce246c87b5d830966bed823d0e7aa15300.zip external_llvm-711b6dce246c87b5d830966bed823d0e7aa15300.tar.gz external_llvm-711b6dce246c87b5d830966bed823d0e7aa15300.tar.bz2 |
It's not legal to output a GV in a coalesced section if it's used in an ARM PIC relative constantpool.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54519 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Mips/MipsTargetAsmInfo.h')
-rw-r--r-- | lib/Target/Mips/MipsTargetAsmInfo.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Target/Mips/MipsTargetAsmInfo.h b/lib/Target/Mips/MipsTargetAsmInfo.h index 2b5a739..806cda8 100644 --- a/lib/Target/Mips/MipsTargetAsmInfo.h +++ b/lib/Target/Mips/MipsTargetAsmInfo.h @@ -40,7 +40,8 @@ namespace llvm { SectionFlagsForGlobal(const GlobalValue *GV = NULL, const char* name = NULL) const; - virtual const Section* SelectSectionForGlobal(const GlobalValue *GV) const; + virtual const Section* SelectSectionForGlobal(const GlobalValue *GV, + bool NoCoalesce) const; private: const MipsSubtarget *Subtarget; |