Home | History | Annotate | Download | only in CodeGen
      1 // RUN: %clang -S -g -fverbose-asm %s -o - | FileCheck %s
      2 // Radar 8461032
      3 // CHECK: DW_AT_location
      4 // CHECK-NEXT: byte 145
      5 
      6 // 145 is DW_OP_fbreg
      7 struct s {
      8   int a;
      9   struct s *next;
     10 };
     11 
     12 int foo(struct  s *s) {
     13   switch (s->a) {
     14   case 1:
     15   case 2: {
     16     struct s *sp = s->next;
     17   }
     18     break;
     19   }
     20   return 1;
     21 }
     22