Fixing this link error:
ld: error: relocation R_X86_64_PC32 cannot be used against symbol __asan_report_load...; recompile with -fPIC
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D109183
[asan] Fixed link error by setting jump symbol to R_X86_64_PLT32. ClosedPublic Authored by kstoimenov on Sep 2 2021, 12:28 PM.
Details Summary Fixing this link error:
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 2 2021, 1:08 PM This revision was landed with ongoing or failed builds.Sep 2 2021, 2:51 PM Closed by commit rGcf53c6c97106: [asan] Fixed link error by setting jump symbol to R_X86_64_PLT32. (authored by kstoimenov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 370413 llvm/lib/Target/X86/X86MCInstLower.cpp
llvm/test/CodeGen/X86/asan-check-memaccess-add.ll
llvm/test/CodeGen/X86/asan-check-memaccess-or.ll
|