mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-04 17:58:22 +00:00
[arc] Update TargetInfo to include the new backend name argument
Also update a comment about the usage of RegisterTarget() that didn't mention the new argument. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318441 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
549203e435
commit
4c98672343
@ -890,7 +890,7 @@ struct TargetRegistry {
|
||||
/// }
|
||||
/// extern "C" void LLVMInitializeFooTargetInfo() {
|
||||
/// RegisterTarget<Triple::foo> X(getTheFooTarget(), "foo", "Foo
|
||||
/// description");
|
||||
/// description", "Foo" /* Backend Name */);
|
||||
/// }
|
||||
template <Triple::ArchType TargetArchType = Triple::UnknownArch,
|
||||
bool HasJIT = false>
|
||||
|
@ -18,5 +18,5 @@ Target &llvm::getTheARCTarget() {
|
||||
}
|
||||
|
||||
extern "C" void LLVMInitializeARCTargetInfo() {
|
||||
RegisterTarget<Triple::arc> X(getTheARCTarget(), "arc", "ARC");
|
||||
RegisterTarget<Triple::arc> X(getTheARCTarget(), "arc", "ARC", "ARC");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user