diff options
| author | Enrico Granata <egranata@apple.com> | 2012-08-09 19:33:34 +0000 |
|---|---|---|
| committer | Enrico Granata <egranata@apple.com> | 2012-08-09 19:33:34 +0000 |
| commit | 7ec18e3d10aeded985ab2fcb0781d17a80ad0df5 (patch) | |
| tree | 1b99f1d79c3231115af2a1928c51e94267a9b966 /lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp | |
| parent | 10c6072d615a45617cf3e26c9b5b8f7f4d0046ef (diff) | |
| download | bcm5719-llvm-7ec18e3d10aeded985ab2fcb0781d17a80ad0df5.tar.gz bcm5719-llvm-7ec18e3d10aeded985ab2fcb0781d17a80ad0df5.zip | |
<rdar://problem/10449092> Adding a new uppercase hex format specifier. This commit also changes the short names for formats so that uppercase hex can be 'X', which was previously assigned to hex float. hex float now has no short name.
llvm-svn: 161606
Diffstat (limited to 'lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp')
| -rw-r--r-- | lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp b/lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp new file mode 100644 index 00000000000..97804202639 --- /dev/null +++ b/lldb/test/functionalities/data-formatter/rdar-10449092/main.cpp @@ -0,0 +1,25 @@ +//===-- 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> + +struct foo +{ + int first; + int second; +}; + +int main () +{ + struct foo mine = {0x001122AA, 0x1122BB44}; + mine.first = 0xAABBCCDD; // Set break point at this line. + mine.second = 0xFF00FF00; + return 0; +} + |

