Skip to content

[DWARFLinker][NFC] Move common code into the base library: Utils.h #77604

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

Merged
merged 2 commits into from
Jan 11, 2024

Conversation

avl-llvm
Copy link
Collaborator

This patch is extracted from #74725.
Put some usefull routines into the common Utils.h.

This patch is extracted from llvm#74725.
Put some usefull routines into the common Utils.h.
Copy link

github-actions bot commented Jan 10, 2024

✅ With the latest revision this PR passed the C/C++ code formatter.

@@ -5,3 +5,5 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//

#include "llvm/DWARFLinker/Utils.h"
Copy link
Contributor

Choose a reason for hiding this comment

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

Do you intend to add any code to this file? If it's empty, we can delete it

Copy link
Collaborator Author

@avl-llvm avl-llvm Jan 10, 2024

Choose a reason for hiding this comment

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

yes, I am going to add code to this file in the future. Another thing is that currently this is the only .cpp file in the library. Without any .cpp file it would be necessary to write more complex CMakeLists.txt. It is just easier to have empty .cpp.

@avl-llvm avl-llvm merged commit a02c0d9 into llvm:main Jan 11, 2024
@avl-llvm avl-llvm deleted the avl-llvm/move-code-to-common-part branch January 11, 2024 19:34
justinfargnoli pushed a commit to justinfargnoli/llvm-project that referenced this pull request Jan 28, 2024
…lvm#77604)

This patch is extracted from llvm#74725.
Put some usefull routines into the common Utils.h.
felipepiovezan pushed a commit to felipepiovezan/llvm-project that referenced this pull request Feb 2, 2024
…lvm#77604)

This patch is extracted from llvm#74725.
Put some usefull routines into the common Utils.h.

(cherry picked from commit a02c0d9)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants