[PATCH] D135848: [clang][Module][AIX] Mark test unsupported since objc doesn't have xcoff support

Kai Luo via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 12 20:37:23 PDT 2022


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 \


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135848.467355.patch
Type: text/x-patch
Size: 412 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221013/f772679f/attachment.bin>


More information about the cfe-commits mailing list