[llvm] dsymutil: Re-add missing -latomic (PR #85380)

via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 15 03:42:37 PDT 2024


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-debuginfo

Author: None (maflcko)

<details>
<summary>Changes</summary>

This was accidentally removed in https://reviews.llvm.org/D137799#<!-- -->4657404 / https://reviews.llvm.org/D137799#C3933303OL44, and downstream projects are forced to add it back. For example, https://git.savannah.gnu.org/cgit/guix.git/commit/?id=4e26331a5ee87928a16888c36d51e270f0f10f90

Fix this, by re-adding it.

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


1 Files Affected:

- (modified) llvm/tools/dsymutil/CMakeLists.txt (+1-1) 


``````````diff
diff --git a/llvm/tools/dsymutil/CMakeLists.txt b/llvm/tools/dsymutil/CMakeLists.txt
index 53f882e90b4e92..da371e6b728f77 100644
--- a/llvm/tools/dsymutil/CMakeLists.txt
+++ b/llvm/tools/dsymutil/CMakeLists.txt
@@ -45,4 +45,4 @@ if(APPLE AND NOT LLVM_TOOL_LLVM_DRIVER_BUILD)
   target_link_libraries(dsymutil PRIVATE "-framework CoreFoundation")
 endif(APPLE AND NOT LLVM_TOOL_LLVM_DRIVER_BUILD)
 
-# target_link_libraries(dsymutil PRIVATE ${LLVM_ATOMIC_LIB})
+target_link_libraries(dsymutil PRIVATE ${LLVM_ATOMIC_LIB})

``````````

</details>


https://github.com/llvm/llvm-project/pull/85380


More information about the llvm-commits mailing list