aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Mips/MipsTargetAsmInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-08-08 06:56:16 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-08-08 06:56:16 +0000
commit711b6dce246c87b5d830966bed823d0e7aa15300 (patch)
tree9ecbf910a5d51f5486b38f2db97d122569501a6a /lib/Target/Mips/MipsTargetAsmInfo.h
parent15621a2569c3789a00624aaa0d255eaf3f130b63 (diff)
downloadexternal_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.h3
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;