Allow multiple registrations of the same target.

- This doesn't necessarily seem like a good idea, but the JIT unittest
   currently relies on it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75769 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-07-15 10:32:44 +00:00
parent aca81c49d9
commit 3fb7eee9c2
2 changed files with 7 additions and 8 deletions
+2 -1
View File
@@ -137,7 +137,8 @@ namespace llvm {
/// @name Target Registration
/// @{
/// RegisterTarget - Register the given target.
/// RegisterTarget - Register the given target. Attempts to register a
/// target which has already been registered will be ignored.
///
/// Clients are responsible for ensuring that registration doesn't occur
/// while another thread is attempting to access the registry. Typically