diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-11-13 19:16:19 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-11-13 19:16:19 +0000 |
commit | 3bea50aeb35704798aefa9acbb8973c7864f3732 (patch) | |
tree | e0e5afc553d0fdac6d12000717da77fbeb594b79 /lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp | |
parent | f98ba05f3d01517c9fee4e64da13101fccb821b7 (diff) | |
download | bcm5719-llvm-3bea50aeb35704798aefa9acbb8973c7864f3732.tar.gz bcm5719-llvm-3bea50aeb35704798aefa9acbb8973c7864f3732.zip |
Fix UB in string.bench.cpp.
The usage of aligned_storage failed to pass the alignment it wanted,
which caused it to have a larger size and alignment that the
std::string's it was intended to store.
This patch manually specifies the alignment, as well as cleaning up
type alias bugs.
llvm-svn: 346779
Diffstat (limited to 'lldb/unittests/Process/gdb-remote/GDBRemoteClientBaseTest.cpp')
0 files changed, 0 insertions, 0 deletions