[all-commits] [llvm/llvm-project] c12f11: Corrected __libfuzzer_is_present symbol inclusion ...

Vitaly Buka via All-commits all-commits at lists.llvm.org
Fri Jul 17 18:30:24 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: c12f11184682c55e10922665cea628332eb158eb
      https://github.com/llvm/llvm-project/commit/c12f11184682c55e10922665cea628332eb158eb
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2020-07-17 (Fri, 17 Jul 2020)

  Changed paths:
    M compiler-rt/lib/fuzzer/FuzzerDriver.cpp

  Log Message:
  -----------
  Corrected __libfuzzer_is_present symbol inclusion for MSVC x86 32-bit

The incorrect symbol will cause linking failures for 32-bit targets:

clang_rt.fuzzer-i386.lib(FuzzerDriver.obj) : error LNK2001: unresolved external symbol __libfuzzer_is_present

Verified no longer fails to link with this change for 32-bit and still succeeds for 64-bit MSVC.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list