[all-commits] [llvm/llvm-project] 127d3a: [Instrumentation] Set hidden visibility for the bi...

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Jan 28 12:07:09 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 127d3abf25b309f56575118530f8f6df08d9e843
      https://github.com/llvm/llvm-project/commit/127d3abf25b309f56575118530f8f6df08d9e843
  Author: Petr Hosek <phosek at google.com>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/InstrProfiling.cpp
    M llvm/test/Instrumentation/InstrProfiling/runtime-counter-relocation.ll

  Log Message:
  -----------
  [Instrumentation] Set hidden visibility for the bias variable

We have to avoid using a GOT relocation to access the bias variable,
setting the hidden visibility achieves that.

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




More information about the All-commits mailing list