[PATCH] Prologue support

Peter Collingbourne peter at pcc.me.uk
Mon Dec 1 11:40:16 PST 2014


================
Comment at: docs/BitCodeFormat.rst:744
@@ -743,3 +743,3 @@
 
-``[FUNCTION, type, callingconv, isproto, linkage, paramattr, alignment, section, visibility, gc, prefix, dllstorageclass]``
+``[FUNCTION, type, callingconv, isproto, linkage, paramattr, alignment, section, visibility, gc, prefix, dllstorageclass, comdat, prologue]``
 
----------------
This does not match what the serialization code is doing.

================
Comment at: lib/AsmParser/LLParser.h:204
@@ -203,2 +203,3 @@
     bool ParseStringConstant(std::string &Result);
+    bool ParseInt32(signed &Val);
     bool ParseUInt32(unsigned &Val);
----------------
Unused.

================
Comment at: lib/Bitcode/Reader/BitcodeReader.cpp:2029
@@ -2013,3 +2028,3 @@
     //             alignment, section, visibility, gc, unnamed_addr,
-    //             dllstorageclass]
+    //             prefix, prologue, dllstorageclass]
     case bitc::MODULE_CODE_FUNCTION: {
----------------
Nor does this.

================
Comment at: lib/Bitcode/Writer/BitcodeWriter.cpp:674
@@ -674,1 +673,3 @@
+    //             section, visibility, gc, unnamed_addr, prefixdata,
+    //             dllstorageclass, comdat, prologuedata]
     Vals.push_back(VE.getTypeID(F.getType()));
----------------
Nor does this.

================
Comment at: lib/CodeGen/AsmPrinter/AsmPrinter.cpp:67
@@ -66,1 +66,3 @@
 
+static const MCExpr *lowerConstant(const Constant *CV, AsmPrinter &AP);
+
----------------
Unused.

http://reviews.llvm.org/D6454






More information about the llvm-commits mailing list