diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2023-12-09 13:28:42 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2023-12-09 13:28:42 +0000 |
| commit | b1c73532ee8997fe5dfbeb7d223027bdf99758a0 (patch) | |
| tree | 7d6e51c294ab6719475d660217aa0c0ad0526292 /llvm/lib/MC/TargetRegistry.cpp | |
| parent | 7fa27ce4a07f19b07799a767fc29416f3b625afb (diff) | |
Diffstat (limited to 'llvm/lib/MC/TargetRegistry.cpp')
| -rw-r--r-- | llvm/lib/MC/TargetRegistry.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/llvm/lib/MC/TargetRegistry.cpp b/llvm/lib/MC/TargetRegistry.cpp index fa7aaccabcd6..0aa48916c7d2 100644 --- a/llvm/lib/MC/TargetRegistry.cpp +++ b/llvm/lib/MC/TargetRegistry.cpp @@ -49,9 +49,8 @@ const Target *TargetRegistry::lookupTarget(StringRef ArchName, std::string TempError; TheTarget = TargetRegistry::lookupTarget(TheTriple.getTriple(), TempError); if (!TheTarget) { - Error = "unable to get target for '" - + TheTriple.getTriple() - + "', see --version and --triple.\n"; + Error = "unable to get target for '" + TheTriple.getTriple() + + "', see --version and --triple."; return nullptr; } } |
