Displaying 2 results from an estimated 2 matches for "d0bfa164".
2011 Mar 21
0
[LLVMdev] Text or Data symbol
...al address corresponds to data or code ?
> I have to process differently text and data address...
>
> Thank you !
>
> Damien
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20110321/d0bfa164/attachment.html>
2011 Mar 18
2
[LLVMdev] Text or Data symbol
I am again calling for help from LLVM developers ;)
For my DSP backend, at the lowering stage and also at the AsmPrinter stage,
I need to know if a GlobalAddress is a code or a data address.
So I tried at the lowering stage to use:
GlobalAddressSDNode *GSDN = cast<GlobalAddressSDNode>(Op);
const GlobalValue *GV = GSDN->getGlobal();
GV->hasSection() and GV->getSection()
But the