projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend test to check the .cfi instructions.
[oota-llvm.git]
/
tools
/
lto
/
LTOModule.cpp
diff --git
a/tools/lto/LTOModule.cpp
b/tools/lto/LTOModule.cpp
index ff67769192c345d7375ae4e4265540a8fdc2c7e7..d805f49f9a901230b4e20730d65e801c8f5b0ae8 100644
(file)
--- a/
tools/lto/LTOModule.cpp
+++ b/
tools/lto/LTOModule.cpp
@@
-743,7
+743,7
@@
namespace {
AddValueSymbols(Inst.getOperand(i).getExpr());
}
virtual void EmitLabel(MCSymbol *Symbol) {
AddValueSymbols(Inst.getOperand(i).getExpr());
}
virtual void EmitLabel(MCSymbol *Symbol) {
- Symbol->setSection(*getCurrentSection());
+ Symbol->setSection(*getCurrentSection()
.first
);
markDefined(*Symbol);
}
virtual void EmitDebugLabel(MCSymbol *Symbol) {
markDefined(*Symbol);
}
virtual void EmitDebugLabel(MCSymbol *Symbol) {
@@
-771,7
+771,8
@@
namespace {
virtual void EmitBundleUnlock() {}
// Noop calls.
virtual void EmitBundleUnlock() {}
// Noop calls.
- virtual void ChangeSection(const MCSection *Section) {}
+ virtual void ChangeSection(const MCSection *Section,
+ const MCExpr *Subsection) {}
virtual void InitToTextSection() {}
virtual void InitSections() {}
virtual void EmitAssemblerFlag(MCAssemblerFlag Flag) {}
virtual void InitToTextSection() {}
virtual void InitSections() {}
virtual void EmitAssemblerFlag(MCAssemblerFlag Flag) {}