teak-llvm/lldb/packages/Python/lldbsuite/test/expression_command/macros/macro1.h
Siva Chandra d8335e9ab4 Read macro info from .debug_macro section and use it for expression evaluation.
Summary:
DWARF 5 proposes a reinvented .debug_macro section. This change follows
that spec.

Currently, only GCC produces the .debug_macro section and hence
the added test is annottated with expectedFailureClang.

Reviewers: spyffe, clayborg, tberghammer

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D15437

llvm-svn: 255729
2015-12-16 00:22:08 +00:00

18 lines
168 B
C++

#include "macro2.h"
#define ONE 1
#define TWO 2
#define THREE 3
#define FOUR 4
class Simple
{
public:
int
Method()
{
return ONE + TWO;
};
};