[all-commits] [llvm/llvm-project] 14e8be: [tblgen] Disable lsan weak hook when building with...

goussepi via All-commits all-commits at lists.llvm.org
Fri Jan 28 02:03:46 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 14e8bedc98071b0c159345b472807c011d7b3f8a
      https://github.com/llvm/llvm-project/commit/14e8bedc98071b0c159345b472807c011d7b3f8a
  Author: Pierre Gousseau <pierre.gousseau at sony.com>
  Date:   2022-01-28 (Fri, 28 Jan 2022)

  Changed paths:
    M llvm/utils/TableGen/TableGen.cpp

  Log Message:
  -----------
  [tblgen] Disable lsan weak hook when building with msvc

This change is to fix a link time error when building llvm with msvc.

MSVC's implementation does not support weak hook or lsan so this change
disables lsan's weak hook definition.
Only GCC supports LSan.

Tested with visual studio 2019 v16.9.6

Reviewed By: aaron.ballman, rnk

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




More information about the All-commits mailing list