[all-commits] [llvm/llvm-project] d334ce: Fix GSYM tests to run the yaml files and fix test ...

Greg Clayton via All-commits all-commits at lists.llvm.org
Fri Feb 28 17:21:51 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: d334ce0b5acb945d6202d0ab6a17bdca530f50c1
      https://github.com/llvm/llvm-project/commit/d334ce0b5acb945d6202d0ab6a17bdca530f50c1
  Author: Greg Clayton <gclayton at fb.com>
  Date:   2020-02-28 (Fri, 28 Feb 2020)

  Changed paths:
    A llvm/test/tools/llvm-gsymutil/lit.local.cfg
    M llvm/tools/llvm-gsym/llvm-gsymutil.cpp

  Log Message:
  -----------
  Fix GSYM tests to run the yaml files and fix test failures on some machines.

Summary: YAML files were not being run during lit testing as there was no lit.local.cfg file. Once this was fixed, some buildbots would fail due to a StringRef that pointed to a std::string inside of a temporary llvm::Triple object. These issues are fixed here by making a local triple object that stays around long enough so the StringRef points to valid data.

Reviewers: aprantl, thakis, MaskRay, aadsm, wallace

Subscribers: llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list