cling/patches/llvm-include-llvm-Support-DynamicLibrary.diff
Axel Naumann 6379c2a21d Use the proper extention and you will be applied.
git-svn-id: http://root.cern.ch/svn/root/trunk@47328 27541ba8-7e3a-0410-8455-c3a389f83636
2012-11-15 18:11:08 +00:00

15 lines
608 B
Diff

Index: include/llvm/Support/DynamicLibrary.h
===================================================================
--- include/llvm/Support/DynamicLibrary.h (revision 47319)
+++ include/llvm/Support/DynamicLibrary.h (working copy)
@@ -96,6 +96,9 @@ namespace sys {
/// libraries.
/// @brief Add searchable symbol/value pair.
static void AddSymbol(StringRef symbolName, void *symbolValue);
+
+ bool operator<(const DynamicLibrary& Other) const { return Data < Other.Data; }
+ bool operator==(const DynamicLibrary& Other) const { return Data == Other.Data; }
};
} // End sys namespace