[all-commits] [llvm/llvm-project] e99a08: Merging r373389:

tstellar via All-commits all-commits at lists.llvm.org
Wed Nov 27 14:11:00 PST 2019


  Branch: refs/heads/release/9.x
  Home:   https://github.com/llvm/llvm-project
  Commit: e99a087fff6c547cae1192f54edcc474f46f6567
      https://github.com/llvm/llvm-project/commit/e99a087fff6c547cae1192f54edcc474f46f6567
  Author: Leonard Chan <leonardchan at google.com>
  Date:   2019-11-27 (Wed, 27 Nov 2019)

  Changed paths:
    M llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp

  Log Message:
  -----------
  Merging r373389:

------------------------------------------------------------------------
r373389 | leonardchan | 2019-10-01 13:30:46 -0700 (Tue, 01 Oct 2019) | 10 lines

[ASan] Make GlobalsMD member a const reference.

PR42924 points out that copying the GlobalsMetadata type during
construction of AddressSanitizer can result in exteremely lengthened
build times for translation units that have many globals. This can be addressed
by just making the GlobalsMD member in AddressSanitizer a reference to
avoid the copy. The GlobalsMetadata type is already passed to the
constructor as a reference anyway.

Differential Revision: https://reviews.llvm.org/D68287
------------------------------------------------------------------------




More information about the All-commits mailing list