diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-03-15 21:56:50 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-03-15 21:56:50 +0000 |
commit | d6e59084d07500f68548652b8197325809a0c0c2 (patch) | |
tree | aab8d4434c72391d542af496a16657d500621673 /include | |
parent | 99d22adcadc750b2949283d562bdb4d480b8d11c (diff) | |
download | external_llvm-d6e59084d07500f68548652b8197325809a0c0c2.zip external_llvm-d6e59084d07500f68548652b8197325809a0c0c2.tar.gz external_llvm-d6e59084d07500f68548652b8197325809a0c0c2.tar.bz2 |
MC/Mach-O/x86_64: Temporary labels in cstring sections require symbols (and external relocations, but we don't have x86_64 relocations yet).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98583 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Target/TargetAsmBackend.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetAsmBackend.h b/include/llvm/Target/TargetAsmBackend.h index 35e768c..35a995f 100644 --- a/include/llvm/Target/TargetAsmBackend.h +++ b/include/llvm/Target/TargetAsmBackend.h @@ -11,6 +11,7 @@ #define LLVM_TARGET_TARGETASMBACKEND_H namespace llvm { +class MCSection; class Target; /// TargetAsmBackend - Generic interface to target specific assembler backends. @@ -50,6 +51,12 @@ public: /// Note that the assembler currently does not reason about atoms, instead it /// assumes all temporary symbols reside in the "current atom". virtual bool hasScatteredSymbols() const { return false; } + + /// doesSectionRequireSymbols - Check whether the given section requires that + /// all symbols (even temporaries) have symbol table entries. + virtual bool doesSectionRequireSymbols(const MCSection &Section) const { + return false; + } }; } // End llvm namespace |