From cda0ae46ac9b368ee7cbb0da5aa447563dec0aae Mon Sep 17 00:00:00 2001 From: Valentina Giusti Date: Thu, 8 Sep 2016 14:16:45 +0000 Subject: Fix for rL280668, Intel(R) Memory Protection Extensions (Intel(R) MPX) support. Summary: Signed-off-by: Valentina Giusti Reviewers: dvlahovski, granata.enrico, clayborg, labath Subscribers: lldb-commits Differential Revision: https://reviews.llvm.org/D24255 llvm-svn: 280942 --- .../test/functionalities/register/main.cpp | 36 ---------------------- 1 file changed, 36 deletions(-) delete mode 100644 lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp (limited to 'lldb/packages/Python/lldbsuite/test/functionalities/register/main.cpp') 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 - -#include -#include - -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; -} -- cgit v1.2.3