This is an archive of the discontinued LLVM Phabricator instance.

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

Authored by lkail on Oct 12 2022, 8:37 PM.

Details

Summary

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

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");
}

Diff Detail

Event Timeline

lkail created this revision.Oct 12 2022, 8:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 12 2022, 8:37 PM
Herald added a subscriber: sunfish. · View Herald Transcript
lkail requested review of this revision.Oct 12 2022, 8:37 PM
Herald added a project: Restricted Project. · View Herald TranscriptOct 12 2022, 8:37 PM
lkail edited the summary of this revision. (Show Details)Oct 12 2022, 8:40 PM

LGTM with comment (matches similar files already present in the directory).

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

We see GOFF in the same list.

This revision is now accepted and ready to land.Oct 12 2022, 8:47 PM
lkail updated this revision to Diff 467356.Oct 12 2022, 8:49 PM
lkail added inline comments.
clang/test/Modules/module-file-home-is-cwd.m
2

Nice one.

Confirming LGTM.

This revision was landed with ongoing or failed builds.Oct 12 2022, 9:04 PM
This revision was automatically updated to reflect the committed changes.