[PATCH] Fix input validation issues in llvm-as/llvm-dis

Alexey Samsonov vonosmas at gmail.com
Fri May 8 09:07:24 PDT 2015


LGTM with one comment.


REPOSITORY
  rL LLVM

================
Comment at: tools/llvm-as/llvm-as.cpp:67
@@ +66,3 @@
+      OutputFilename = IFN.endswith(".ll")
+                         ? std::string(IFN.begin(), IFN.end()-3)
+                         : IFN.str();
----------------
IFN.drop_back(3).str() (here and below)

http://reviews.llvm.org/D9584

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list