[all-commits] [llvm/llvm-project] e84468: [llvm-cxxfilt] Improve strip-underscore behavior

Steven Wu via All-commits all-commits at lists.llvm.org
Mon Nov 18 15:06:03 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e84468c1f145e9a5e54640ebdc78bc40c7da3fce
      https://github.com/llvm/llvm-project/commit/e84468c1f145e9a5e54640ebdc78bc40c7da3fce
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M llvm/test/tools/llvm-cxxfilt/abitag.test
    M llvm/test/tools/llvm-cxxfilt/coff-import.test
    A llvm/test/tools/llvm-cxxfilt/darwin.test
    M llvm/test/tools/llvm-cxxfilt/delimiters.test
    M llvm/test/tools/llvm-cxxfilt/empty-line.test
    M llvm/test/tools/llvm-cxxfilt/invalid.test
    M llvm/test/tools/llvm-cxxfilt/noargs.test
    M llvm/test/tools/llvm-cxxfilt/simple.test
    M llvm/test/tools/llvm-cxxfilt/types.test
    M llvm/test/tools/llvm-cxxfilt/underscore.test
    M llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp

  Log Message:
  -----------
  [llvm-cxxfilt] Improve strip-underscore behavior

Summary:
For platform that uses macho format, c++filt should be stripping the
leading underscore by default. Introduce the binutil compatible "-n"
option to control strip-undercore behaivor together with the existing
"-_" option and fallback to system default if none of them are set.

rdar://problem/57173514

Reviewers: compnerd, erik.pilkington, dexonsmith, mattd

Reviewed By: compnerd, erik.pilkington

Subscribers: jkorous, ributzka, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list