[all-commits] [llvm/llvm-project] 204d0d: [MemProf] Make __memprof_shadow_memory_dynamic_add...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sat Dec 5 21:41:42 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 204d0d51b3cec91696f8b0b03f204cd0cf8d5ed4
      https://github.com/llvm/llvm-project/commit/204d0d51b3cec91696f8b0b03f204cd0cf8d5ed4
  Author: Fangrui Song <i at maskray.me>
  Date:   2020-12-05 (Sat, 05 Dec 2020)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/MemProfiler.cpp
    A llvm/test/Instrumentation/HeapProfiler/shadow.ll

  Log Message:
  -----------
  [MemProf] Make __memprof_shadow_memory_dynamic_address dso_local in static relocation model

The x86-64 backend currently has a bug which uses a wrong register when for the GOTPCREL reference.
The program will crash without the dso_local specifier.




More information about the All-commits mailing list