LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 31694 - Clang does not define the macros related to SVR-4 abicalls
Summary: Clang does not define the macros related to SVR-4 abicalls
Status: RESOLVED FIXED
Alias: None
Product: new-bugs
Classification: Unclassified
Component: new bugs (show other bugs)
Version: trunk
Hardware: PC All
: P normal
Assignee: Simon Dardis
URL:
Keywords:
Depends on:
Blocks: 23370
  Show dependency tree
 
Reported: 2017-01-19 10:15 PST by Simon Dardis
Modified: 2017-02-21 08:22 PST (History)
3 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Dardis 2017-01-19 10:15:43 PST
Clang currently does not define __ABICALLS__ for NetBSD or for FreeBSD.

Additionally, the target independant macro __mips_abicalls is not defined for all mips targets.
Comment 1 Brad Smith 2017-01-21 11:29:10 PST
Also OpenBSD needs __ABICALLS__.
Comment 2 Simon Dardis 2017-01-21 13:40:34 PST
Understood, I'll add OpenBSD to the patch I will post. Thanks for informing me.
Comment 3 Simon Dardis 2017-02-21 08:21:56 PST
Resolved by r295728.