[all-commits] [llvm/llvm-project] 467c71: [profile] Change linkage type of a compiler-rt func

gulfemsavrun via All-commits all-commits at lists.llvm.org
Wed Jul 21 11:22:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 467c7191249b76abff33853b1692a77f327c2422
      https://github.com/llvm/llvm-project/commit/467c7191249b76abff33853b1692a77f327c2422
  Author: Gulfem Savrun Yeniceri <gulfem at google.com>
  Date:   2021-07-21 (Wed, 21 Jul 2021)

  Changed paths:
    M compiler-rt/lib/profile/InstrProfilingInternal.c
    M compiler-rt/lib/profile/InstrProfilingInternal.h
    M compiler-rt/lib/profile/InstrProfilingPlatformLinux.c

  Log Message:
  -----------
  [profile] Change linkage type of a compiler-rt func

This patch changes the linkage type of a compiler-rt func
(__llvm_write_binary_ids) to fix the sanitizer-windows bot
build issue introduced in change f984ac271.

The issue is as the following:
C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\lib\profile\InstrProfilingInternal.h(201):
error C2496: '__llvm_write_binary_ids': 'selectany' can only be applied
to data items with external linkage




More information about the All-commits mailing list