diff options
| author | Valentina Giusti <valentina.giusti@intel.com> | 2016-09-08 14:16:45 +0000 |
|---|---|---|
| committer | Valentina Giusti <valentina.giusti@intel.com> | 2016-09-08 14:16:45 +0000 |
| commit | cda0ae46ac9b368ee7cbb0da5aa447563dec0aae (patch) | |
| tree | 6c509d4f4177d7f0e36df592219884b079561915 /lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp | |
| parent | 4d1e4d76ee4636b6605e6d119322b767efc93b70 (diff) | |
| download | bcm5719-llvm-cda0ae46ac9b368ee7cbb0da5aa447563dec0aae.tar.gz bcm5719-llvm-cda0ae46ac9b368ee7cbb0da5aa447563dec0aae.zip | |
Fix for rL280668, Intel(R) Memory Protection Extensions (Intel(R) MPX) support.
Summary: Signed-off-by: Valentina Giusti <valentina.giusti@intel.com>
Reviewers: dvlahovski, granata.enrico, clayborg, labath
Subscribers: lldb-commits
Differential Revision: https://reviews.llvm.org/D24255
llvm-svn: 280942
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp')
| -rw-r--r-- | lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp b/lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp deleted file mode 100644 index 156515768dd..00000000000 --- a/lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp +++ /dev/null @@ -1,36 +0,0 @@ -//===-- main.cpp ------------------------------------------------*- C++ -*-===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -#include <stdio.h> - -#include <chrono> -#include <thread> - -long double outermost_return_long_double (long double my_long_double); - -int main (int argc, char const *argv[]) -{ - lldb_enable_attach(); - - char my_string[] = {'a', 'b', 'c', 'd', 'e', 'f', 'g', 0}; - double my_double = 1234.5678; - long double my_long_double = 1234.5678; - - // For simplicity assume that any cmdline argument means wait for attach. - if (argc > 1) - { - volatile int wait_for_attach=1; - while (wait_for_attach) - std::this_thread::sleep_for(std::chrono::microseconds(1)); - } - - printf("my_string=%s\n", my_string); - printf("my_double=%g\n", my_double); - outermost_return_long_double (my_long_double); - return 0; -} |

