Skip to content

Commit

Permalink
Remove Bitrig: CompilerRT Changes
Browse files Browse the repository at this point in the history
Bitrig code has been merged back to OpenBSD, thus the OS has been abandoned.

Differential Revision: https://reviews.llvm.org/D35709

llvm-svn: 308798
  • Loading branch information
Erich Keane committed Jul 21, 2017
1 parent 2b9657b commit a021743
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions compiler-rt/lib/builtins/clear_cache.c
Expand Up @@ -23,7 +23,7 @@ uint32_t FlushInstructionCache(uintptr_t hProcess, void *lpBaseAddress,
uintptr_t GetCurrentProcess(void);
#endif

#if (defined(__FreeBSD__) || defined(__Bitrig__)) && defined(__arm__)
#if defined(__FreeBSD__) && defined(__arm__)
#include <sys/types.h>
#include <machine/sysarch.h>
#endif
Expand Down Expand Up @@ -96,7 +96,7 @@ void __clear_cache(void *start, void *end) {
* so there is nothing to do
*/
#elif defined(__arm__) && !defined(__APPLE__)
#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__Bitrig__)
#if defined(__FreeBSD__) || defined(__NetBSD__)
struct arm_sync_icache_args arg;

arg.addr = (uintptr_t)start;
Expand Down
4 changes: 2 additions & 2 deletions compiler-rt/lib/builtins/int_endianness.h
Expand Up @@ -61,7 +61,7 @@

#endif /* *BSD */

#if defined(__OpenBSD__) || defined(__Bitrig__)
#if defined(__OpenBSD__)
#include <machine/endian.h>

#if _BYTE_ORDER == _BIG_ENDIAN
Expand All @@ -72,7 +72,7 @@
#define _YUGA_BIG_ENDIAN 0
#endif /* _BYTE_ORDER */

#endif /* OpenBSD and Bitrig. */
#endif /* OpenBSD */

/* .. */

Expand Down
4 changes: 2 additions & 2 deletions compiler-rt/test/builtins/Unit/endianness.h
Expand Up @@ -51,7 +51,7 @@

/* .. */

#if defined(__OpenBSD__) || defined(__Bitrig__)
#if defined(__OpenBSD__)
#include <machine/endian.h>

#if _BYTE_ORDER == _BIG_ENDIAN
Expand All @@ -62,7 +62,7 @@
#define _YUGA_BIG_ENDIAN 0
#endif /* _BYTE_ORDER */

#endif /* OpenBSD and Bitrig. */
#endif /* OpenBSD */

/* .. */

Expand Down

0 comments on commit a021743

Please sign in to comment.