[all-commits] [llvm/llvm-project] cf53c6: [asan] Fixed link error by setting jump symbol to ...

kstoimenov via All-commits all-commits at lists.llvm.org
Thu Sep 2 14:51:49 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf53c6c9710617ea465863e117dda695af2c3ebb
      https://github.com/llvm/llvm-project/commit/cf53c6c9710617ea465863e117dda695af2c3ebb
  Author: Kirill Stoimenov <kstoimenov at google.com>
  Date:   2021-09-02 (Thu, 02 Sep 2021)

  Changed paths:
    M llvm/lib/Target/X86/X86MCInstLower.cpp
    M llvm/test/CodeGen/X86/asan-check-memaccess-add.ll
    M llvm/test/CodeGen/X86/asan-check-memaccess-or.ll

  Log Message:
  -----------
  [asan] Fixed link error by setting jump symbol to R_X86_64_PLT32.

Fixing this link error:
ld: error: relocation R_X86_64_PC32 cannot be used against symbol __asan_report_load...; recompile with -fPIC

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D109183




More information about the All-commits mailing list