[llvm] ced8a89 - [gn] port 1ae57fed880688 and fix mistake from 1203a24764bfa

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 05:31:26 PDT 2023


Author: Nico Weber
Date: 2023-04-18T08:31:13-04:00
New Revision: ced8a89d4a742079228fd9814b6c98117cbee8fd

URL: https://github.com/llvm/llvm-project/commit/ced8a89d4a742079228fd9814b6c98117cbee8fd
DIFF: https://github.com/llvm/llvm-project/commit/ced8a89d4a742079228fd9814b6c98117cbee8fd.diff

LOG: [gn] port 1ae57fed880688 and fix mistake from 1203a24764bfa

Added: 
    

Modified: 
    llvm/utils/gn/secondary/libunwind/src/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/libunwind/src/BUILD.gn b/llvm/utils/gn/secondary/libunwind/src/BUILD.gn
index f4aa67afbe13c..59f39816977d9 100644
--- a/llvm/utils/gn/secondary/libunwind/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libunwind/src/BUILD.gn
@@ -38,7 +38,6 @@ unwind_sources = [
   "UnwindLevel1.c",
   "UnwindRegistersRestore.S",
   "UnwindRegistersSave.S",
-  "Unwind_AIXExtras.cpp",
   "assembly.h",
   "cet_unwind.h",
   "config.h",
@@ -46,8 +45,8 @@ unwind_sources = [
   "libunwind.cpp",
   "libunwind_ext.h",
 ]
-if (current_os == "mac") {
-  unwind_sources += [ "Unwind_AppleExtras.cpp" ]
+if (current_os == "aix") {
+  unwind_sources += [ "Unwind_AIXExtras.cpp" ]
 }
 
 if (current_os == "android") {


        


More information about the llvm-commits mailing list