diff --git a/clang-tools-extra/pseudo/gen/CMakeLists.txt b/clang-tools-extra/pseudo/gen/CMakeLists.txt
--- a/clang-tools-extra/pseudo/gen/CMakeLists.txt
+++ b/clang-tools-extra/pseudo/gen/CMakeLists.txt
@@ -1,11 +1,11 @@
 set(LLVM_LINK_COMPONENTS Support)
 list(REMOVE_ITEM LLVM_COMMON_DEPENDS clang-tablegen-targets)
 
-add_clang_executable(pseudo-gen
+add_clang_executable(clang-pseudo-gen
   Main.cpp
   )
 
-target_link_libraries(pseudo-gen
+target_link_libraries(clang-pseudo-gen
   PRIVATE
   clangPseudoGrammar
   )
diff --git a/clang-tools-extra/pseudo/include/CMakeLists.txt b/clang-tools-extra/pseudo/include/CMakeLists.txt
--- a/clang-tools-extra/pseudo/include/CMakeLists.txt
+++ b/clang-tools-extra/pseudo/include/CMakeLists.txt
@@ -2,11 +2,11 @@
 set(cxx_bnf ${CMAKE_CURRENT_SOURCE_DIR}/../lib/cxx.bnf)
 
 if(LLVM_USE_HOST_TOOLS)
-  build_native_tool(pseudo-gen pseudo_gen)
+  build_native_tool(clang-pseudo-gen pseudo_gen)
   set(pseudo_gen_target "${pseudo_gen}")
 else()
-  set(pseudo_gen $<TARGET_FILE:pseudo-gen>)
-  set(pseudo_gen_target pseudo-gen)
+  set(pseudo_gen $<TARGET_FILE:clang-pseudo-gen>)
+  set(pseudo_gen_target clang-pseudo-gen)
 endif()
 
 # Generate inc files.
diff --git a/llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn b/llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn
--- a/llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn
+++ b/llvm/utils/gn/secondary/clang-tools-extra/pseudo/gen/BUILD.gn
@@ -1,4 +1,4 @@
-executable("pseudo-gen") {
+executable("clang-pseudo-gen") {
   configs += [ "//llvm/utils/gn/build:clang_code" ]
   deps = [
     "//clang-tools-extra/pseudo/lib/grammar",