aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorFangrui Song <i@maskray.me>2022-06-10 22:50:55 -0700
committerFangrui Song <i@maskray.me>2022-06-10 22:50:55 -0700
commitadf4142f76831848732861769a807d1047102c53 (patch)
tree850eb26fd50c8e9803c225179b0bc1383940c6c6 /llvm/lib/CodeGen/StackMaps.cpp
parent2e603c67c204b6bc9d96bf090ef4fd3a5b04aa51 (diff)
downloadllvm-adf4142f76831848732861769a807d1047102c53.zip
llvm-adf4142f76831848732861769a807d1047102c53.tar.gz
llvm-adf4142f76831848732861769a807d1047102c53.tar.bz2
[MC] De-capitalize SwitchSection. NFC
Add SwitchSection to return switchSection. The API will be removed soon.
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
-rw-r--r--llvm/lib/CodeGen/StackMaps.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StackMaps.cpp b/llvm/lib/CodeGen/StackMaps.cpp
index c20e321..6757d6c 100644
--- a/llvm/lib/CodeGen/StackMaps.cpp
+++ b/llvm/lib/CodeGen/StackMaps.cpp
@@ -721,7 +721,7 @@ void StackMaps::serializeToStackMapSection() {
// Create the section.
MCSection *StackMapSection =
OutContext.getObjectFileInfo()->getStackMapSection();
- OS.SwitchSection(StackMapSection);
+ OS.switchSection(StackMapSection);
// Emit a dummy symbol to force section inclusion.
OS.emitLabel(OutContext.getOrCreateSymbol(Twine("__LLVM_StackMaps")));