[PATCH] D17854: add .alt_entry assembly directive for Mach-O

Rafael Ávila de Espíndola via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 3 11:12:49 PST 2016


rafael added a subscriber: rafael.
rafael added a comment.

This is missing a test from .s to .o.

In the object file, what is the difference that a .alt_entry has? Also, it seems odd to make the codegen decision based on the expression being binary. Would a llvm optimization removing a +0 change the semantics by dropping the .alt_entry?

Two bugs you might want to be aware of in relation to this:

https://llvm.org/bugs/show_bug.cgi?id=25381

https://llvm.org/bugs/show_bug.cgi?id=19203


http://reviews.llvm.org/D17854





More information about the llvm-commits mailing list