[PATCH] D109393: [asan] Changed the label for error reporting code to use GOT instead of PLT.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 7 14:57:07 PDT 2021


pcc added a comment.

In D109393#2987973 <https://reviews.llvm.org/D109393#2987973>, @kstoimenov wrote:

> In D109393#2987961 <https://reviews.llvm.org/D109393#2987961>, @pcc wrote:
>
>> What's the effect on the relocation types in the object file with this change? I don't think it's valid to have a branch with an `@GOT` modifier.
>
> Moving from PTL to GOT fixed this errors like this: "error: 32 bit reloc applied to a field with a different size". What  do you thing should be the right type for this? Not specifying PTL also had problems with linking so living in blank is not an option.

I mean what's the difference in output of `objdump -dr file.o` before and after.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D109393/new/

https://reviews.llvm.org/D109393



More information about the llvm-commits mailing list