[llvm] [X86] Fix RTTI proxy emission for 32-bit (PR #78622)
via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 18 13:04:35 PST 2024
github-actions[bot] wrote:
<!--LLVM CODE FORMAT COMMENT: {clang-format}-->
:warning: C/C++ code formatter, clang-format found issues in your code. :warning:
<details>
<summary>
You can test this locally with the following command:
</summary>
``````````bash
git-clang-format --diff 99cae9a44fca4cfbd6ee82f196051cbdf6571fa1 45b4dbcb0adb39ff2b976f08e6a2d31492b0fd0e -- llvm/lib/Target/X86/X86TargetMachine.cpp llvm/lib/Target/X86/X86TargetObjectFile.cpp llvm/lib/Target/X86/X86TargetObjectFile.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/X86/X86TargetObjectFile.h b/llvm/lib/Target/X86/X86TargetObjectFile.h
index 1b8d7f2727..a0e1762a2c 100644
--- a/llvm/lib/Target/X86/X86TargetObjectFile.h
+++ b/llvm/lib/Target/X86/X86TargetObjectFile.h
@@ -51,9 +51,7 @@ namespace llvm {
/// X86ELFTargetObjectFile for commonalities with 32-bit targets.
class X86_64ELFTargetObjectFile : public X86ELFTargetObjectFile {
public:
- X86_64ELFTargetObjectFile() {
- SupportIndirectSymViaGOTPCRel = true;
- }
+ X86_64ELFTargetObjectFile() { SupportIndirectSymViaGOTPCRel = true; }
const MCExpr *
getIndirectSymViaGOTPCRel(const GlobalValue *GV, const MCSymbol *Sym,
``````````
</details>
https://github.com/llvm/llvm-project/pull/78622
More information about the llvm-commits
mailing list