Enable DebugInfo support for COFF object files.

Patch by Nathan Jeffords!



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126425 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2011-02-24 21:04:00 +00:00
parent 8c20ec54d9
commit f410608271
19 changed files with 132 additions and 5 deletions

View File

@@ -108,6 +108,10 @@ public:
assert(0 && "ELF doesn't support this directive");
}
virtual void EmitCOFFSecRel32(MCSymbol const *Symbol) {
assert(0 && "ELF doesn't support this directive");
}
virtual void EmitELFSize(MCSymbol *Symbol, const MCExpr *Value) {
MCSymbolData &SD = getAssembler().getOrCreateSymbolData(*Symbol);
SD.setSize(Value);