HomePhabricator

Fix nm on GCC 5.1 after the C++14 move

Authored by jfb on Aug 15 2019, 1:38 PM.

Description

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

llvm-svn: 369045

Details

Committed
jfbAug 15 2019, 1:38 PM
Differential Revision
D66310: Fix nm on GCC 5.1 after the C++14 move
Parents
rGdeb49a6217da: Mark the test as unsupported on darwin, NFC.
Branches
Unknown
Tags
Unknown