diff options
author | Eric Fiselier <eric@efcs.ca> | 2017-01-05 06:06:18 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2017-01-05 06:06:18 +0000 |
commit | cb5cbc8b666b06189914dbe43b409ef9af89367c (patch) | |
tree | e64e52980ddc05d8cdc10cfdbf02e55a8847781a /lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py | |
parent | 33c544bdb033f70fe24629846569967631cba215 (diff) | |
download | bcm5719-llvm-cb5cbc8b666b06189914dbe43b409ef9af89367c.tar.gz bcm5719-llvm-cb5cbc8b666b06189914dbe43b409ef9af89367c.zip |
[libcxx] Fix PR31402: map::__find_equal_key has undefined behavior.
Summary:
This patch fixes llvm.org/PR31402 by replacing `map::__find_equal_key` with `__tree::__find_equal`, which has already addressed the same undefined behavior.
Unfortunately I haven't been able to write a test case which causes the UBSAN diagnostic mentioned in the bug report. I can write tests which exercise the UB but for some reason they do not cause UBSAN to fail. Any help writing a test case would be appreciated.
Reviewers: mclow.lists, vsk, EricWF
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D28131
llvm-svn: 291087
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/call-function/TestCallStdStringFunction.py')
0 files changed, 0 insertions, 0 deletions