[all-commits] [llvm/llvm-project] d2c595: [libc] undefined reference in LibcTest.cpp

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Wed Feb 9 12:46:19 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d2c595466207f5cc9b8cf01d66d3beaac134d02b
      https://github.com/llvm/llvm-project/commit/d2c595466207f5cc9b8cf01d66d3beaac134d02b
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2022-02-09 (Wed, 09 Feb 2022)

  Changed paths:
    M libc/utils/UnitTest/LibcTest.cpp

  Log Message:
  -----------
  [libc] undefined reference in LibcTest.cpp

GCC complains about undefined reference in LibcTest.cpp and indeed the wrong version of the template has been explicitly instanciated.
This is necessary to get llvm-libc compile with GCC.

Mentionning D119002 here for navigability.

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




More information about the All-commits mailing list