[all-commits] [llvm/llvm-project] 259713: [llvm-cxxfilt] Correctly demangle COFF import thunk

Steven Wu via All-commits all-commits at lists.llvm.org
Mon Dec 16 09:50:24 PST 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2597135571ecae435e10e9136d1eb0435beca8ee
      https://github.com/llvm/llvm-project/commit/2597135571ecae435e10e9136d1eb0435beca8ee
  Author: Steven Wu <stevenwu at apple.com>
  Date:   2019-12-16 (Mon, 16 Dec 2019)

  Changed paths:
    M llvm/test/tools/llvm-cxxfilt/coff-import.test
    M llvm/tools/llvm-cxxfilt/llvm-cxxfilt.cpp

  Log Message:
  -----------
  [llvm-cxxfilt] Correctly demangle COFF import thunk

Summary:
llvm-cxxfilt wasn't correctly demangle COFF import thunk in those two
cases before:
* demangle in split mode (multiple words from commandline)
* the import thunk prefix was added no matter the later part of the
string can be demangled or not
Now llvm-cxxfilt should handle both case correctly.

Reviewers: compnerd, erik.pilkington, jhenderson

Reviewed By: jhenderson

Subscribers: jkorous, dexonsmith, ributzka, llvm-commits

Tags: #llvm

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




More information about the All-commits mailing list