[all-commits] [llvm/llvm-project] 6bf0ad: [Driver] Don't pass -u__llvm_profile_runtime for c...

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri May 8 23:36:59 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6bf0ad78dc01020c9036ad49de2e0f4d59b6def9
      https://github.com/llvm/llvm-project/commit/6bf0ad78dc01020c9036ad49de2e0f4d59b6def9
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-05-08 (Fri, 08 May 2020)

  Changed paths:
    M clang/lib/Driver/ToolChain.cpp
    M clang/lib/Driver/ToolChains/Darwin.cpp
    M clang/lib/Driver/ToolChains/Linux.cpp
    M clang/test/Driver/coverage-ld.c

  Log Message:
  -----------
  [Driver] Don't pass -u__llvm_profile_runtime for clang -fprofile-arcs a.o

clang --coverage a.o       # InstrProfilingRuntime.cpp.o not linked in
clang --fprofile-arcs a.o  # InstrProfilingRuntime.cpp.o unexpectedly linked in

Fix --fprofile-arcs.




More information about the All-commits mailing list