[Lldb-commits] [PATCH] D19548: Fix TestRegisterVariables.py on Windows

Adrian McCarthy via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 26 15:31:36 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL267616: Fix TestRegisterVariables.py on Windows (authored by amccarth).

Changed prior to commit:
  http://reviews.llvm.org/D19548?vs=55050&id=55112#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D19548

Files:
  lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/test.c

Index: lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/test.c
===================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/test.c
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/register_variables/test.c
@@ -5,20 +5,20 @@
   int m2;
 };
 
-void f1(int a, struct bar *b) __attribute__ ((noinline));
+void f1(int a, struct bar *b) __attribute__((noinline)) __attribute__((regparm(2)));
 void f1(int a, struct bar *b)
 {
   b->m2 = b->m1 + a; // set breakpoint here
 }
 
-void f2(struct bar *b) __attribute__ ((noinline));
+void f2(struct bar *b) __attribute__((noinline)) __attribute__((regparm(1)));
 void f2(struct bar *b)
 {
   int c = b->m2;
   printf("%d\n", c); // set breakpoint here
 }
 
-float f3() __attribute__ ((noinline));
+float f3() __attribute__((noinline));
 float f3() {
   return 3.14f;
 }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19548.55112.patch
Type: text/x-patch
Size: 911 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160426/952f7856/attachment.bin>


More information about the lldb-commits mailing list