diff options
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2013-07-04 23:20:12 +0000 |
---|---|---|
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | 2013-07-04 23:20:12 +0000 |
commit | 5679d7da014e415237a4a4f7d61a119a8c84cfd9 (patch) | |
tree | 73cd29653f0f8a0e9852e1e32233175db0675ddb /include | |
parent | 09bb56f0a0bb098faf076e54ee84221c1fd9fefa (diff) | |
download | llvm-5679d7da014e415237a4a4f7d61a119a8c84cfd9.tar.gz llvm-5679d7da014e415237a4a4f7d61a119a8c84cfd9.tar.bz2 llvm-5679d7da014e415237a4a4f7d61a119a8c84cfd9.tar.xz |
Remove use of asymmetric std::lower_bound comparator.
VS 2008 doesn't like it when in debug mode.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@185676 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/MC/MCModule.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/MC/MCModule.h b/include/llvm/MC/MCModule.h index 02f8ca05b4..f43142b5ed 100644 --- a/include/llvm/MC/MCModule.h +++ b/include/llvm/MC/MCModule.h @@ -51,6 +51,11 @@ class MCModule { /// \brief Insert an atom in the module, using its Begin and End addresses. void map(MCAtom *NewAtom); + + /// \brief Return an iterator to the first atom that is completely or in part + /// located after \p Addr, i.e., that \p Addr is bigger than its end address. + AtomListTy::const_iterator atom_lower_bound(uint64_t Addr) const; + AtomListTy:: iterator atom_lower_bound(uint64_t Addr); /// @} /// \name Function tracking |