[llvm-commits] [PATCH] Detect GCC atomic builtins in configure
Owen Anderson
resistor at mac.com
Mon May 18 16:46:37 PDT 2009
On Monday, May 18, 2009, at 06:35PM, "Eric Christopher" <echristo at apple.com> wrote:
>Don't know how you'd guess target though since llvm is multi-arch at
>build time.
>
>Honestly I think you get what you ask for it might be much more simple
>to
>just mark which targets work and then have a preprocessor flag that sees
>if it's set and the native platform.
>
>*shrug* :)
>
I'm adding support for threading LLVM itself, nothing to do with the code that it generates. For LLVM itself to be thread-safe, we need to have access to certain atomic intrinsics on the target for which LLVM is being built.
I think the current solution handles that, and should work just fine on a cross-compiled system now that I've switched to link-testing rather than run-testing. Right?
--Owen
More information about the llvm-commits
mailing list