aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Target/ELFTargetAsmInfo.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 /include/llvm/Target/ELFTargetAsmInfo.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 'include/llvm/Target/ELFTargetAsmInfo.h')
-rw-r--r--include/llvm/Target/ELFTargetAsmInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Target/ELFTargetAsmInfo.h b/include/llvm/Target/ELFTargetAsmInfo.h
index fe339f8..b8261ef 100644
--- a/include/llvm/Target/ELFTargetAsmInfo.h
+++ b/include/llvm/Target/ELFTargetAsmInfo.h
@@ -26,7 +26,8 @@ namespace llvm {
struct ELFTargetAsmInfo: public virtual TargetAsmInfo {
explicit ELFTargetAsmInfo(const TargetMachine &TM);
- virtual const Section* SelectSectionForGlobal(const GlobalValue *GV) const;
+ virtual const Section* SelectSectionForGlobal(const GlobalValue *GV,
+ bool NoCoalesce = false) const;
virtual std::string PrintSectionFlags(unsigned flags) const;
const Section* MergeableConstSection(const GlobalVariable *GV) const;
inline const Section* MergeableConstSection(const Type *Ty) const;