diff options
author | Devang Patel <dpatel@apple.com> | 2009-04-16 15:07:09 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2009-04-16 15:07:09 +0000 |
commit | 906caf2ae45455a12696bb950429da28d7d63422 (patch) | |
tree | 7e00bc8110179b700b4b03122ebaacaa7031494e /lib/CodeGen/SelectionDAG/FastISel.cpp | |
parent | 7c36683fa33afe91da0b5e08ca3064c633dc3f77 (diff) |
Record line number at the beginning of a func.start.
This line was accidently lost yesterday.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69286 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r-- | lib/CodeGen/SelectionDAG/FastISel.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/SelectionDAG/FastISel.cpp b/lib/CodeGen/SelectionDAG/FastISel.cpp index ef7250f944..9a2491959d 100644 --- a/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -406,7 +406,7 @@ bool FastISel::SelectCall(User *I) { // Record the source line. unsigned Line = Subprogram.getLineNumber(); setCurDebugLoc(DebugLoc::get(MF.getOrCreateDebugLocID(SrcFile, Line, 0))); - + DW->RecordSourceLine(Line, 0, SrcFile); // llvm.dbg.func_start also defines beginning of function scope. DW->RecordRegionStart(cast<GlobalVariable>(FSI->getSubprogram())); } |