diff options
author | Chris Lattner <sabre@nondot.org> | 2009-05-04 18:27:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-05-04 18:27:04 +0000 |
commit | dcd808c1f9ef7cdd9fb7779beec3f3872261f0a4 (patch) | |
tree | 083d78f68a5026119f3af28f69f6b7ec10fff8b6 /lib/Frontend/PCHWriter.cpp | |
parent | 4c6f8d38e2795c67048e16e737b8225eeb184262 (diff) |
"Fix" a problem with debug info in the presence of always_inline
function calls. For a program like this:
#include <stdio.h>
static __inline__ __attribute__((always_inline))
int bar(int x) { return 4; }
int main() {
int X = bar(4);
printf("%d\n", X);
}
clang was not outputing any debug info for the body of main(). This is
because the backend is getting confused by the region_start/end that clang
is emitting for block scopes. For now, just disable these (matching llvm-gcc),
this stuff is in progress of rework anyway.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@70889 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/PCHWriter.cpp')
0 files changed, 0 insertions, 0 deletions