[all-commits] [llvm/llvm-project] c47bcf: [demangler][NFC] OperatorInfo table unit test

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Mon Apr 25 10:02:23 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c47bcf9af6fcfd565af25ab95932d7ceadd5d5ab
      https://github.com/llvm/llvm-project/commit/c47bcf9af6fcfd565af25ab95932d7ceadd5d5ab
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2022-04-25 (Mon, 25 Apr 2022)

  Changed paths:
    M libcxxabi/src/demangle/ItaniumDemangle.h
    M llvm/include/llvm/Demangle/ItaniumDemangle.h
    M llvm/unittests/Demangle/ItaniumDemangleTest.cpp

  Log Message:
  -----------
  [demangler][NFC] OperatorInfo table unit test

Placing a run-once test inside the operator lookup function caused
problems with the thread sanitizer. See D122975.

Break out the operator table into a member variable, and move the test
to the unit test machinery.

Reviewed By: dblaikie

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




More information about the All-commits mailing list