projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff70467
)
include/llvm/Support/Compiler.h: Invalidate LLVM_ATTRIBUTE_WEAK on cygming for now.
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 15 Nov 2011 05:24:26 +0000
(
05:24
+0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Tue, 15 Nov 2011 05:24:26 +0000
(
05:24
+0000)
It triggers generating insane executables with both binutils-2.19.1(msysgit) and 2.22.51.
20111013
(cygwin).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144621
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/Compiler.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/Compiler.h
b/include/llvm/Support/Compiler.h
index 14b55c147fe8ef49c7146933f8058c4be7771175..9c5e7ecbae42ef51e1e4329efa7b65b694ac49ea 100644
(file)
--- a/
include/llvm/Support/Compiler.h
+++ b/
include/llvm/Support/Compiler.h
@@
-61,7
+61,7
@@
#define LLVM_ATTRIBUTE_READONLY
#endif
-#if (__GNUC__ >= 4)
+#if (__GNUC__ >= 4)
&& !defined(__MINGW32__) && !defined(__CYGWIN__)
#define LLVM_ATTRIBUTE_WEAK __attribute__((__weak__))
#else
#define LLVM_ATTRIBUTE_WEAK