[all-commits] [llvm/llvm-project] 164373: [clang] Remove the DIFlagArgumentNotModified debug...

Djordje Todorovic via All-commits all-commits at lists.llvm.org
Fri Nov 15 02:10:55 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 1643734741d2f2957206774a50960ba335a36a0c
      https://github.com/llvm/llvm-project/commit/1643734741d2f2957206774a50960ba335a36a0c
  Author: Djordje Todorovic <djordje.todorovic at rt-rk.com>
  Date:   2019-11-15 (Fri, 15 Nov 2019)

  Changed paths:
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CGDebugInfo.h
    R clang/test/CodeGen/debug-info-param-modification.c

  Log Message:
  -----------
  [clang] Remove the DIFlagArgumentNotModified debug info flag

It turns out that the ExprMutationAnalyzer can be very slow when AST
gets huge in some cases. The idea is to move this analysis to the LLVM
back-end level (more precisely, in the LiveDebugValues pass). The new
approach will remove the performance regression, simplify the
implementation and give us front-end independent implementation.

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




More information about the All-commits mailing list