summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
diff options
context:
space:
mode:
authorKuba Brecka <kuba.brecka@gmail.com>2015-02-24 10:10:25 +0000
committerKuba Brecka <kuba.brecka@gmail.com>2015-02-24 10:10:25 +0000
commit987bf0400d27d4ef51f9f4abe3842b1cf758a623 (patch)
tree41270e20d6bd2dd269a982e05ce573db31b36187 /lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp
parente4ac10179ca01b53486d7ceb54b6e0e9add682a0 (diff)
downloadbcm5719-llvm-987bf0400d27d4ef51f9f4abe3842b1cf758a623.tar.gz
bcm5719-llvm-987bf0400d27d4ef51f9f4abe3842b1cf758a623.zip
Fix the ASan ioctl.cc test when using COMPILER_RT_DEBUG=On
In debug mode (COMPILER_RT_DEBUG=On), we still build with -fomit-frame-pointer and wrap_ioctl doesn't set up a proper stack frame. In release mode it does, because ioctl_common_pre gets inlined into wrap_ioctl and it uses the COMMON_INTERCEPTOR_READ_RANGE macro which in the end calls GET_CURRENT_FRAME and that forces the compiler to generate a stack frame for the function. Not having a proper stack frame breaks the unwinder. This patch forces to generate a frame pointer (via ENABLE_FRAME_POINTER macro). Reviewed at http://reviews.llvm.org/D7815 llvm-svn: 230318
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud