[PATCH] D42998: [x86/retpoline] Make the external thunk names exactly match the names that happened to end up in GCC.

James Y Knight via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 6 19:52:58 PST 2018


jyknight added a comment.

Oops, just realized this won't necessarily always match: gcc would name the thunk `__x86_indirect_thunk_eax` for 32bit mode, and `__x86_indirect_thunk_rax` for 64bit mode.

Maybe it's only a theoretical issue because we only use r11 in 64bit mode though?


Repository:
  rL LLVM

https://reviews.llvm.org/D42998





More information about the llvm-commits mailing list