Displaying 2 results from an estimated 2 matches for "getttypeglobalreference".
2014 Mar 17
2
[LLVMdev] Treatment of TType encoding in EHT entries
Hi,
I ran into a crash using Objective-C with llvm/clang on ARM-Linux. The
crash happens while unwinding the stack from pthread_exit as soon as the
first call frame is reached that belongs to a function that uses the
personality routine from libobjc2.
This function is in a shared library (libgnustepbase), and here's the
start of its entry in the execption table:
GCC_except_table20:
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...InitializeELF(TM.Options.UseInitArray);
}
+
+MCSymbol *AArch64MachOTargetObjectFile::getCFIPersonalitySymbol(
+ const GlobalValue *GV, Mangler *Mang, MachineModuleInfo *MMI) const {
+ MCSymbol *SSym = Mang->getSymbol(GV);
+
+ return SSym;
+}
+
+const MCExpr *AArch64MachOTargetObjectFile::getTTypeGlobalReference(
+ const GlobalValue *GV, Mangler *Mang, MachineModuleInfo *MMI,
+ unsigned Encoding, MCStreamer &Streamer) const {
+ MCSymbol *sym = getContext().CreateTempSymbol();
+ Streamer.EmitLabel(sym);
+ const MCExpr *expr = MCSymbolRefExpr::Create(
+ Mang->getSymbol(GV), MCSymbolRefEx...