SuccessChanges

Summary

  1. [ThinLTO/WPD] Fix index-based WPD for available_externally vtables (details)
  2. Only ask once if we have no commands.  NFC. (details)
  3. Run clang-format on lib/CodeGen/CGCall.h and fix indentation (details)
Commit c844f8846aabda577a8bf3b460d4993e89475218 by tejohnson
[ThinLTO/WPD] Fix index-based WPD for available_externally vtables
Summary: Clang does not add type metadata to available_externally
vtables. When choosing a summary to look at for virtual function
definitions, make sure we skip summaries for any available externally
vtables as they will not describe any virtual function functions, which
are only summarized in the presence of type metadata on the vtable def.
Simply look for the corresponding strong def's summary.
Also add handling for same-named local vtables with the same GUID
because of same-named files without enough distinguishing path. In that
case we return a conservative result with no devirtualization.
Reviewers: pcc, davidxl, evgeny777
Subscribers: mehdi_amini, inglorion, hiraditya, steven_wu, dexonsmith,
arphaman, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D69452
The file was addedllvm/test/ThinLTO/X86/Inputs/devirt_local_same_guid.ll
The file was addedllvm/test/ThinLTO/X86/devirt_local_same_guid.ll
The file was addedllvm/test/ThinLTO/X86/devirt_available_externally.ll
The file was modifiedllvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
The file was addedllvm/test/ThinLTO/X86/Inputs/devirt_available_externally.ll
Commit 29d5e275f28723b3b36b00e91b535d776f5aa281 by jingham
Only ask once if we have no commands.  NFC.
The file was modifiedlldb/source/Commands/CommandObjectBreakpoint.cpp
Commit c1d2927cc64731520e60ecd1fc0e0eeabdfbac40 by Akira
Run clang-format on lib/CodeGen/CGCall.h and fix indentation
The file was modifiedclang/lib/CodeGen/CGCall.h