SuccessChanges

Summary

  1. [llvm-nm] Fix -DBUILD_SHARED_LIBS=ON builds after D66160/r371576 (details)
  2. [CodeGen] Add alias for cpu_dispatch function with IFunc & Fix resolver (details)
Commit 56a34f4541cb6ca70f41f6229911894db18ff113 by maskray
[llvm-nm] Fix -DBUILD_SHARED_LIBS=ON builds after D66160/r371576
llvm-svn: 371585
The file was modifiedllvm/tools/llvm-nm/CMakeLists.txt
Commit 9ca1b94a6d3f491f26ccbeacf910342e6861fc7f by maskray
[CodeGen] Add alias for cpu_dispatch function with IFunc & Fix resolver
linkage type
Multi-versioned functions defined by cpu_dispatch and implemented with
IFunc can not be called outside the translation units where they are
defined due to lack of symbols. This patch add function aliases for
these functions and thus make them visible outside.
Differential Revision: https://reviews.llvm.org/D67058 Patch by Senran
Zhang
llvm-svn: 371586
The file was modifiedclang/lib/CodeGen/CodeGenModule.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv-va-args.c
The file was modifiedclang/test/CodeGenCXX/attr-cpuspecific.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv.c
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-modules.cpp
The file was modifiedclang/test/CodeGen/attr-target-mv-func-ptrs.c
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-overloads.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-diff-ns.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-inalloca.cpp
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-member-funcs.cpp
The file was modifiedclang/test/CodeGen/attr-cpuspecific.c
The file was modifiedclang/test/CodeGenCXX/attr-target-mv-out-of-line-defs.cpp