]> granicus.if.org Git - clang/commit
Keep track of artificial scopes introduced by line directives. For example,
authorDevang Patel <dpatel@apple.com>
Thu, 22 Jul 2010 22:29:16 +0000 (22:29 +0000)
committerDevang Patel <dpatel@apple.com>
Thu, 22 Jul 2010 22:29:16 +0000 (22:29 +0000)
commit5a6fbcfd8c15a2296f94a0473a68ec09d429827f
treef64aab6d8de87d5c02bde0bb49bce720661a67d2
parentdb2cfecf0eb6683be103b8550026817426da2d42
Keep track of artificial scopes introduced by line directives. For example,

#line 41 "bar.c"
  dummy (1, i);
#line 24 "bar.h"
  i = f2 (i);
#line 44 "bar.c"

This is tested by step-line.exp in gdb testsuite.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@109189 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
lib/CodeGen/CGDebugInfo.h
lib/CodeGen/CGStmt.cpp
lib/CodeGen/CodeGenFunction.cpp