kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

16_tail_call.c (219B)


      1 /* Exercises R_AARCH64_JUMP26 (unconditional branch to symbol).
      2  *
      3  * At -O2 clang lowers the trailing call to a tail call (`b g`) which
      4  * uses JUMP26 instead of CALL26. */
      5 
      6 extern void g(int);
      7 void f(int x) { g(x); }