[all-commits] [llvm/llvm-project] 3d708b: Recommit "[ThinLTO] Add correctness check for RO/W...

eleviant via All-commits all-commits at lists.llvm.org
Fri Nov 15 05:32:37 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3d708bf5c2672cae01e5ecb0ed1877e3d56ee451
      https://github.com/llvm/llvm-project/commit/3d708bf5c2672cae01e5ecb0ed1877e3d56ee451
  Author: evgeny <eleviant at accesssoftek.com>
  Date:   2019-11-15 (Fri, 15 Nov 2019)

  Changed paths:
    M llvm/include/llvm/LTO/LTO.h
    M llvm/include/llvm/Transforms/IPO/FunctionImport.h
    M llvm/include/llvm/Transforms/IPO/WholeProgramDevirt.h
    M llvm/lib/LTO/LTO.cpp
    M llvm/lib/LTO/ThinLTOCodeGenerator.cpp
    M llvm/lib/Transforms/IPO/FunctionImport.cpp
    M llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
    M llvm/lib/Transforms/Utils/FunctionImportUtils.cpp

  Log Message:
  -----------
  Recommit "[ThinLTO] Add correctness check for RO/WO variable import"

ValueInfo has user-defined 'operator bool' which allows incorrect implicit conversion
to GlobalValue::GUID (which is unsigned long). This causes bugs which are hard to
track and should be removed in future.




More information about the All-commits mailing list