Open Quuxplusone opened 14 years ago
Bugzilla Link | PR8588 |
Status | NEW |
Importance | P normal |
Reported by | Jonathan Schleifer (js-llvm-bugzilla@webkeks.org) |
Reported on | 2010-11-11 13:37:18 -0800 |
Last modified on | 2010-11-18 19:45:02 -0800 |
Version | trunk |
Hardware | Macintosh MacOS X |
CC | clattner@nondot.org, fjahanian@apple.com, llvm-bugs@lists.llvm.org |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
Yes, the objc backend isn't careful enough when it creates names for IR. That said, I don't think that this is very important, whatever you're trying to do is almost certainly a bad idea :-)
Yes, I agree, I am doing something bad, but Apple's Blocks ABI forces me to because it needs the symbols _NSConcreteStackBlock etc. exported and pointing to these classes, since someone decided not to look up the classes at runtime using a constructor, like it should be, or at least do it similar to @"" string literals.
For now, I fixed it using a -Wl,-alias_list instead of relying on Clang. But this does not fix the bug in Clang, as it worked before with Clang.