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.
Paths
| Differential D17770
[gcc compatibility]Add support for ".stabs" directive Needs ReviewPublic Authored by myatsina on Mar 1 2016, 8:43 AM.
Details
Summary The ".stabs" has the following format: The ".stabs" directive should be emitted as is to the generated assembly. This is in compatibility with GCC.
Diff Detail
Event Timelinemyatsina updated this object. Comment Actions This needs a testcase. What is the longer term objective? Do you intent to add support to the object streamer? What is still using stabs?
Revision Contents
Diff 49498 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
|
Why call an empty function?