[LLVMdev] 'Address of Label and Indirect Branches in LLVM IR' blog post

Chris Lattner clattner at apple.com
Sun Jan 3 10:09:59 PST 2010

On Jan 3, 2010, at 1:17 AM, Török Edwin wrote:
On 2010-01-03 10:33, Chris Lattner wrote:
>> If you're interested in this new extension, here is some more information with some less-than-obvious aspects of the design:
>> http://blog.llvm.org/2010/01/address-of-label-and-indirect-branches.html
>> This feature was added to LLVM by Bob Wilson, Dan Gohman and I to mainline back in November.  If you have questions or comments about the post, this is a good thread to discuss them on :)
> Can a label be listed multiple times in indirectbr?


> Also the intent of that code is to allow it to go into a readonly
> section, however with Clang it only goes to a .data.rel.ro section (with
> -fPIC):

Nice catch, fixed in r92450!


More information about the llvm-dev mailing list