diff options
author | Raphael Isemann <teemperor@gmail.com> | 2021-09-29 16:47:12 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2021-09-29 17:03:37 +0200 |
commit | f939a32e5c483686af16561211d77c06a5579011 (patch) | |
tree | 60051ab913c7cc6b1b58dbd61097250da1133034 /llvm/lib/Object/WasmObjectFile.cpp | |
parent | 2f1b99ca67da18d858a4b070716790a8f53891d6 (diff) | |
download | llvm-f939a32e5c483686af16561211d77c06a5579011.zip llvm-f939a32e5c483686af16561211d77c06a5579011.tar.gz llvm-f939a32e5c483686af16561211d77c06a5579011.tar.bz2 |
[lldb] Fix TestImportStdModule on some setups by testing minmax instead of abs
Some downstream forks of LLDB change parts of the test setup in a way that
causes lldb to somehow resolve `std::abs` (probably to `::abs`). This patch
changes the tested function here to be `std::minmax` which (hopefully) doesn't
have any identically named functions that LLDB could find and call. Just to be
extra safe this also explicitly specified the template arguments so that in
case there is a `minmax` non-template function we still don't end up calling it
from this test.
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions