[gn build] (manually) port dedaf3a2ac5
authorNico Weber <thakis@chromium.org>
Wed, 27 May 2020 16:31:59 +0000 (12:31 -0400)
committerNico Weber <thakis@chromium.org>
Wed, 27 May 2020 16:31:59 +0000 (12:31 -0400)
llvm/utils/gn/secondary/compiler-rt/lib/builtins/BUILD.gn

index 2c33adb..7793901 100644 (file)
@@ -497,6 +497,13 @@ static_library("builtins") {
     ]
   }
 
+  if (current_cpu == "ve") {
+    sources += [
+      "ve/grow_stack.S",
+      "ve/grow_stack_align.S",
+    ]
+  }
+
   if (!compiler_rt_exclude_atomic_builtin) {
     sources += [
       # This comment prevents `gn format` from putting the file on the same line