[PATCH] D17770: [gcc compatibility]Add support for ".stabs" directive

Marina Yatsina via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 1 08:43:31 PST 2016


myatsina created this revision.
myatsina added reviewers: rnk, rafael.
myatsina added a subscriber: llvm-commits.
myatsina set the repository for this revision to rL LLVM.

The ".stabs" has the following format:
.stabs "string",type,other,desc,value
where type, other, desc and value are numbers.

The ".stabs" directive should be emitted as is to the generated assembly. This is in compatibility with GCC.

Repository:
  rL LLVM

http://reviews.llvm.org/D17770

Files:
  include/llvm/MC/MCObjectStreamer.h
  include/llvm/MC/MCStreamer.h
  lib/MC/MCAsmStreamer.cpp
  lib/MC/MCObjectStreamer.cpp
  lib/MC/MCParser/AsmParser.cpp
  lib/MC/MCStreamer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D17770.49498.patch
Type: text/x-patch
Size: 5092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160301/f79d9a52/attachment.bin>


More information about the llvm-commits mailing list