Home | History | Annotate | Download | only in Inputs
      1 #define M1 Value1
      2 #include "dwarfdump-macro.h"
      3 #define M2(x, y)   ((x)+(y)* Value2)
      4 
      5 // Built with GCC
      6 // $ mkdir -p /tmp/dbginfo
      7 // $ cp dwarfdump-macro.cc /tmp/dbginfo
      8 // $ cp dwarfdump-macro.h /tmp/dbginfo
      9 // $ cp dwarfdump-macro-cmd.h /tmp/dbginfo
     10 // $ cd /tmp/dbginfo
     11 // $ g++ -c -g3 -O0 -DM3=Value3 -include dwarfdump-macro-cmd.h dwarfdump-macro.cc -o <output>
     12