diff options
author | J0WI <J0WI@users.noreply.github.com> | 2018-11-08 11:09:29 +0100 |
---|---|---|
committer | Andy Postnikov <apostnikov@gmail.com> | 2019-01-07 03:22:44 +0200 |
commit | 1b31b74333331c7e141190631e07469dfa1ece70 (patch) | |
tree | cf5aa0b32ae341fa92dec166b5601ccb8b79f884 /community/llvm3.7/llvm-nm-workaround.patch | |
parent | cd7e796072b2defa799dc93bcdeee8b5fc25de9e (diff) | |
download | aports-1b31b74333331c7e141190631e07469dfa1ece70.tar.bz2 aports-1b31b74333331c7e141190631e07469dfa1ece70.tar.xz |
community/llvm3.7: remove aport
Diffstat (limited to 'community/llvm3.7/llvm-nm-workaround.patch')
-rw-r--r-- | community/llvm3.7/llvm-nm-workaround.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/community/llvm3.7/llvm-nm-workaround.patch b/community/llvm3.7/llvm-nm-workaround.patch deleted file mode 100644 index 5755e57ff3..0000000000 --- a/community/llvm3.7/llvm-nm-workaround.patch +++ /dev/null @@ -1,27 +0,0 @@ -From https://llvm.org/bugs/show_bug.cgi?id=24115 - -diff --git a/tools/llvm-nm/llvm-nm.cpp b/tools/llvm-nm/llvm-nm.cpp -index e7ee312..b9e4779 100644 ---- a/tools/llvm-nm/llvm-nm.cpp -+++ b/tools/llvm-nm/llvm-nm.cpp -@@ -486,7 +486,7 @@ static void sortAndPrintSymbolList(SymbolicFile &Obj, bool printName, - std::string ArchiveName, - std::string ArchitectureName) { - if (!NoSort) { -- std::function<bool(const NMSymbol &, const NMSymbol &)> Cmp; -+ bool (*Cmp)(const NMSymbol &, const NMSymbol &); - if (NumericSort) - Cmp = compareSymbolAddress; - else if (SizeSort) -@@ -495,8 +495,9 @@ static void sortAndPrintSymbolList(SymbolicFile &Obj, bool printName, - Cmp = compareSymbolName; - - if (ReverseSort) -- Cmp = [=](const NMSymbol &A, const NMSymbol &B) { return Cmp(B, A); }; -- std::sort(SymbolList.begin(), SymbolList.end(), Cmp); -+ std::sort(SymbolList.begin(), SymbolList.end(), [=](const NMSymbol &A, const NMSymbol &B) { return Cmp(B, A); }); -+ else -+ std::sort(SymbolList.begin(), SymbolList.end(), Cmp); - } - - if (!PrintFileName) { |