diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-03 00:55:40 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-03 00:55:40 +0000 |
commit | 32a006e606742b1c5401e49607e33717bb5441f0 (patch) | |
tree | a0f3328f54b7df420f636fcd4ece07f4accd2f6c /lib/Target/PTX | |
parent | 0bdf0c05b990b4f2d29719b34f4ce44f16176f09 (diff) | |
download | external_llvm-32a006e606742b1c5401e49607e33717bb5441f0.zip external_llvm-32a006e606742b1c5401e49607e33717bb5441f0.tar.gz external_llvm-32a006e606742b1c5401e49607e33717bb5441f0.tar.bz2 |
Try to resolve symbol differences early, and if successful create a plain
data fragment. This reduces the time to assemble the test in 8711 from 60s to
54s.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@120767 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PTX')
-rw-r--r-- | lib/Target/PTX/PTXMCAsmStreamer.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/Target/PTX/PTXMCAsmStreamer.cpp b/lib/Target/PTX/PTXMCAsmStreamer.cpp index 0b49bcc..8043baf 100644 --- a/lib/Target/PTX/PTXMCAsmStreamer.cpp +++ b/lib/Target/PTX/PTXMCAsmStreamer.cpp @@ -118,6 +118,10 @@ public: virtual void EmitWeakReference(MCSymbol *Alias, const MCSymbol *Symbol); + virtual void EmitDwarfAdvanceLineAddr(int64_t LineDelta, + const MCSymbol *LastLabel, + const MCSymbol *Label); + virtual void EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute); virtual void EmitSymbolDesc(MCSymbol *Symbol, unsigned DescValue); @@ -263,6 +267,12 @@ void PTXMCAsmStreamer::EmitWeakReference(MCSymbol *Alias, EmitEOL(); } +void PTXMCAsmStreamer::EmitDwarfAdvanceLineAddr(int64_t LineDelta, + const MCSymbol *LastLabel, + const MCSymbol *Label) { + report_fatal_error("Unimplemented."); +} + void PTXMCAsmStreamer::EmitSymbolAttribute(MCSymbol *Symbol, MCSymbolAttr Attribute) {} |