OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2e6435
)
Put the assignment back at the top of this method.
author
Bill Wendling
<isanbard@gmail.com>
Wed, 11 Mar 2009 00:03:50 +0000
(
00:03
+0000)
committer
Bill Wendling
<isanbard@gmail.com>
Wed, 11 Mar 2009 00:03:50 +0000
(
00:03
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@66611
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
b/lib/CodeGen/AsmPrinter/DwarfWriter.cpp
index
8dc7c4c
..
4120d9f
100644
(file)
--- a/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
+++ b/
lib/CodeGen/AsmPrinter/DwarfWriter.cpp
@@
-3135,13
+3135,13
@@
public:
/// BeginFunction - Gather pre-function debug information. Assumes being
/// emitted immediately after the function entry point.
void BeginFunction(MachineFunction *MF) {
+ this->MF = MF;
+
if (!ShouldEmitDwarfDebug()) return;
if (TimePassesIsEnabled)
DebugTimer->startTimer();
- this->MF = MF;
-
// Begin accumulating function debug information.
MMI->BeginFunction(MF);