[all-commits] [llvm/llvm-project] 7f561f: [DWARFLinker] Convert analyzeContextInfo to a work...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Sat Nov 7 10:46:24 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f561f6aafb5cd3eafbbb6db1950660b47b272b2
      https://github.com/llvm/llvm-project/commit/7f561f6aafb5cd3eafbbb6db1950660b47b272b2
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2020-11-07 (Sat, 07 Nov 2020)

  Changed paths:
    M llvm/lib/DWARFLinker/DWARFLinker.cpp

  Log Message:
  -----------
  [DWARFLinker] Convert analyzeContextInfo to a work list (NFC)

Convert analyzeContextInfo to a work list using the same approach I used
to remove the recursion from lookForDIEsToKeep. This fixes the crash
reported in https://llvm.org/PR48029.

Tested using the reproducer attached to PR48029 as well as by comparing
the clang MD5 hashes before and after the change (with and without
gmodules).

Differential revision: https://reviews.llvm.org/D90873




More information about the All-commits mailing list