Displaying 2 results from an estimated 2 matches for "doessectionrequiresymbol".
Did you mean:
doessectionrequiresymbols
2011 Nov 30
1
[LLVMdev] elf direct object emission
With the MIPS compiler, when we have static constants, in the .s file we
get something like:
.type $.str33, at object # @.str33
.section .rodata.str1.1,"aMS", at progbits,1
$.str33:
.asciz "//"
.size $.str33, 3
Currently when we create direct object code we are referencing the
symbol as an offset in .rodata and not directly using
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...ue);
namespace {
+class DarwinAArch64AsmBackend : public AArch64AsmBackend {
+public:
+ DarwinAArch64AsmBackend(const Target &T, const StringRef TT, uint8_t _OSABI)
+ : AArch64AsmBackend(T, TT) {}
+ bool mayNeedRelaxation(const MCInst &) const { return false; }
+
+ virtual bool doesSectionRequireSymbols(const MCSection &Section) const {
+ SectionKind kind = Section.getKind();
+ return kind.isDataRel() || kind.isReadOnlyWithRel() || kind.isMetadata() ||
+ kind.isMergeableConst();
+ }
+
+ unsigned int getNumFixupKinds() const { return AArch64::NumTargetFixupKinds; }
+
+ bool...