[all-commits] [llvm/llvm-project] 91a6bf: [COFF] Assign unique identifiers to ObjFiles from LTO

Reid Kleckner via All-commits all-commits at lists.llvm.org
Fri Apr 17 17:19:49 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 91a6bfed61631b23deabad9986ac29b74d7491ea
      https://github.com/llvm/llvm-project/commit/91a6bfed61631b23deabad9986ac29b74d7491ea
  Author: Reid Kleckner <rnk at google.com>
  Date:   2020-04-17 (Fri, 17 Apr 2020)

  Changed paths:
    M lld/COFF/LTO.cpp
    M lld/COFF/LTO.h
    M lld/COFF/SymbolTable.cpp
    M lld/COFF/SymbolTable.h
    M lld/test/COFF/lto-parallel.ll
    A lld/test/COFF/pdb-thinlto.ll
    M lld/test/COFF/thinlto.ll
    M lld/test/COFF/weak-external.test
    M lld/test/COFF/weak-external3.test

  Log Message:
  -----------
  [COFF] Assign unique identifiers to ObjFiles from LTO

Use the unique filenames that are used when /lldsavetemps is passed.
After this change, module names for LTO blobs in PDBs will be unique.
Visual Studio and probably other debuggers expect module names to be
unique.

Revert some changes from 1e0b158db (2017) that are no longer necessary
after removing MSVC LTO support.

Reviewed By: MaskRay

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




More information about the All-commits mailing list