[all-commits] [llvm/llvm-project] f939a3: [lldb] Fix TestImportStdModule on some setups by t...
Raphael Isemann via All-commits
all-commits at lists.llvm.org
Wed Sep 29 08:04:07 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f939a32e5c483686af16561211d77c06a5579011
https://github.com/llvm/llvm-project/commit/f939a32e5c483686af16561211d77c06a5579011
Author: Raphael Isemann <teemperor at gmail.com>
Date: 2021-09-29 (Wed, 29 Sep 2021)
Changed paths:
M lldb/test/API/commands/expression/import-std-module/basic/TestImportStdModule.py
Log Message:
-----------
[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.
More information about the All-commits
mailing list