lkail created this revision.
lkail added reviewers: hubert.reinterpretcast, daltenty, stevewan.
Herald added a subscriber: sunfish.
Herald added a project: All.
lkail requested review of this revision.
Herald added subscribers: cfe-commits, aheejin.
Herald added a project: clang.

Fixed error

  Command Output (stderr):
  --
  fatal error: error in backend: Objective-C support is unimplemented for 
object file format

Source code in `clang/lib/CodeGen/CGObjCMac.cpp:5080`

  c++
    case llvm::Triple::Wasm:
    case llvm::Triple::GOFF:
    case llvm::Triple::SPIRV:
    case llvm::Triple::XCOFF:
    case llvm::Triple::DXContainer:
      llvm::report_fatal_error(
          "Objective-C support is unimplemented for object file format");
    }


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135848

Files:
  clang/test/Modules/module-file-home-is-cwd.m


Index: clang/test/Modules/module-file-home-is-cwd.m
===================================================================
--- clang/test/Modules/module-file-home-is-cwd.m
+++ clang/test/Modules/module-file-home-is-cwd.m
@@ -1,3 +1,4 @@
+// UNSUPPORTED: aix
 // RUN: cd %S
 // RUN: %clang_cc1 -x objective-c -fmodules -fno-implicit-modules \
 // RUN:     -fmodule-file-home-is-cwd -fmodule-name=libA -emit-module \


Index: clang/test/Modules/module-file-home-is-cwd.m
===================================================================
--- clang/test/Modules/module-file-home-is-cwd.m
+++ clang/test/Modules/module-file-home-is-cwd.m
@@ -1,3 +1,4 @@
+// UNSUPPORTED: aix
 // RUN: cd %S
 // RUN: %clang_cc1 -x objective-c -fmodules -fno-implicit-modules \
 // RUN:     -fmodule-file-home-is-cwd -fmodule-name=libA -emit-module \
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to