]> granicus.if.org Git - llvm/commit
Fix nm on GCC 5.1 after the C++14 move
authorJF Bastien <jfbastien@apple.com>
Thu, 15 Aug 2019 20:38:42 +0000 (20:38 +0000)
committerJF Bastien <jfbastien@apple.com>
Thu, 15 Aug 2019 20:38:42 +0000 (20:38 +0000)
commit37436f141b3f0e5b81a5293374536eb8e834b218
tree6ea73b8843455a17174fddf8cc565b19fc25b91d
parent57a81294076e7985af7c90a82fb680348bfc8b53
Fix nm on GCC 5.1 after the C++14 move

Summary:
As in D66306, fix the invocation of std::sort with std::function by not using
std::function, since it's easier to read and is broken in libstdc++ from GCC 5.1
(see https://gcc.gnu.org/PR65942).

Reviewers: thakis

Subscribers: jkorous, mgrang, dexonsmith, rupprecht, llvm-commits

Tags: #llvm

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@369045 91177308-0d34-0410-b5e6-96231b3b80d8
tools/llvm-nm/llvm-nm.cpp