Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix linker error #67696

Closed
wants to merge 1 commit into from
Closed

Fix linker error #67696

wants to merge 1 commit into from

Conversation

mbrkusanin
Copy link
Collaborator

Fix error when linking unittests/IR/IRTests after https://reviews.llvm.org/D152206

@llvmbot
Copy link
Collaborator

llvmbot commented Sep 28, 2023

@llvm/pr-subscribers-llvm-ir

Changes

Fix error when linking unittests/IR/IRTests after https://reviews.llvm.org/D152206


Full diff: https://github.com/llvm/llvm-project/pull/67696.diff

1 Files Affected:

  • (modified) llvm/unittests/IR/CMakeLists.txt (+1)
diff --git a/llvm/unittests/IR/CMakeLists.txt b/llvm/unittests/IR/CMakeLists.txt
index 176faf2f5cfa9ac..f57039493f21fdc 100644
--- a/llvm/unittests/IR/CMakeLists.txt
+++ b/llvm/unittests/IR/CMakeLists.txt
@@ -4,6 +4,7 @@ set(LLVM_LINK_COMPONENTS
   Core
   Support
   Passes
+  TargetParser
   TransformUtils
   ScalarOpts
   )

Copy link
Collaborator

@kosarev kosarev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@mbrkusanin
Copy link
Collaborator Author

D152206 is reverted and will reland with needed changes.

@mbrkusanin mbrkusanin closed this Sep 28, 2023
@mbrkusanin mbrkusanin deleted the link-error-fix branch September 28, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants