[all-commits] [llvm/llvm-project] a874d1: [DebugInfo] Prevent inlining in NRVO-string test c...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Thu Feb 11 01:34:03 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a874d182c61c7f8e5291c718b40be0e133bf21f0
      https://github.com/llvm/llvm-project/commit/a874d182c61c7f8e5291c718b40be0e133bf21f0
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2021-02-11 (Thu, 11 Feb 2021)

  Changed paths:
    M debuginfo-tests/dexter-tests/nrvo-string.cpp
    M debuginfo-tests/llgdb-tests/nrvo-string.cpp

  Log Message:
  -----------
  [DebugInfo] Prevent inlining in NRVO-string test cases

Since the new pass manager has been enabled by default these tests had their
-O1 variations failing due to the tested functions being inlined. This just
adds no_inline to the respective code similar to what we did in other
tests (e.g. aa56b30014d96700b2fc945be11866789f341d38 ).




More information about the All-commits mailing list