OSDN Git Service

ART: Increase command buffer size in assembler_thumb_test
authorAndreas Gampe <agampe@google.com>
Tue, 22 Jul 2014 01:32:59 +0000 (18:32 -0700)
committerAndreas Gampe <agampe@google.com>
Tue, 22 Jul 2014 01:35:07 +0000 (18:35 -0700)
Change-Id: I5fe0014a2928772650bdb120a877eb9624bf7651

compiler/utils/assembler_thumb_test.cc

index 534783a..3312f8f 100644 (file)
@@ -171,7 +171,7 @@ void dump(std::vector<uint8_t>& code, const char* testname) {
   }
   out.close();
 
-  char cmd[256];
+  char cmd[1024];
 
   // Assemble the .S
   snprintf(cmd, sizeof(cmd), "%s%sas %s -o %s.o", toolsdir.c_str(), TOOL_PREFIX, filename, filename);