[PATCH] MC: Improve the .fill directive's compatibility with GAS

Rafael Ávila de Espíndola rafael.espindola at gmail.com
Fri Jan 31 11:03:47 PST 2014



================
Comment at: lib/MC/MCParser/AsmParser.cpp:2449
@@ +2448,3 @@
+
+  if (!isUInt<32>(FillExpr) && FillSize == 8) {
+    Warning(ExprLoc, "'.fill' directive pattern has been truncated to 32-bits");
----------------
Same question. What if FillSize is 7. Will gas not truncate the value? Please check what gas actually does, the manual can miss the details or be out of date.


http://llvm-reviews.chandlerc.com/D2667



More information about the llvm-commits mailing list