[llvm] [RISCV][MC] Implement ISA mapping symbols (PR #67541)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 27 04:34:15 PDT 2023
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 4731623f81c47d9e879d845dee0609b84daa9efd f948bd7a7125314a9bf2138ae827bb2ea5f79cb6 -- llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
``````````
</details>
<details>
<summary>
View the diff from clang-format here.
</summary>
``````````diff
diff --git a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
index 88fb5b235388..46b56298b788 100644
--- a/llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
+++ b/llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h
@@ -20,8 +20,7 @@ class RISCVELFStreamer : public MCELFStreamer {
void emitInstructionsMappingSymbol();
void emitMappingSymbol(StringRef Name);
- enum ElfMappingSymbol { EMS_None, EMS_ChangeISA, EMS_Instructions,
- EMS_Data };
+ enum ElfMappingSymbol { EMS_None, EMS_ChangeISA, EMS_Instructions, EMS_Data };
int64_t MappingSymbolCounter = 0;
DenseMap<const MCSection *, ElfMappingSymbol> LastMappingSymbols;
``````````
</details>
https://github.com/llvm/llvm-project/pull/67541
More information about the llvm-commits
mailing list