[LLVMdev] Treatment of TType encoding in EHT entries

Rafael EspĂ­ndola rafael.espindola at gmail.com
Thu Mar 20 17:14:31 PDT 2014


> On X86 the generated EHT has DW_EH_PE_pcrel as TType encoding, BTW.

For static it uses absptr too:

.byte 0                       # @TType Encoding = absptr

...

.long _ZTIi                   # TypeInfo 1

For arm-linux we print

.byte 0                       @ @TType Encoding = absptr

.long _ZTIi(target2)          @ TypeInfo 1

Not sure what target2 means, but it is from
ARMElfTargetObjectFile::getTTypeGlobalReference.

Cheers,
Rafael



More information about the llvm-dev mailing list