Displaying 1 result from an estimated 1 matches for "gettargetnam".
Did you mean:
gettargetname
2010 Nov 12
0
[LLVMdev] Collapse OBJC_CLASSLIST_REFERENCES globals in llvm-link?
...references =
this->getReferences();
if ( references.size() != 1 )
throwf("__objc_classrefs element missing reloc
(count=%ld) for target class in %s", references.size(), fOwner.getPath());
const char* targetName = references[0]->getTargetName();
if ( strncmp(targetName, "_OBJC_CLASS_$_", 14) == 0 )
asprintf((char**)&fSynthesizedName,
"objc-class-ref-to-%s", &targetName[14]);
else
asprintf((char**)&fSynthesizedName,
"objc...