aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.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/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.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/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp')
-rw-r--r--llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
index d9d808f..2f6aa61 100644
--- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
+++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
@@ -1961,10 +1961,10 @@ TEST(DWARFDebugInfo, TestErrorReporting) {
MCContext *MC = DG->getMCContext();
// Emit two compressed sections with broken headers.
- AP->OutStreamer->SwitchSection(
+ AP->OutStreamer->switchSection(
MC->getELFSection(".zdebug_foo", 0 /*Type*/, 0 /*Flags*/));
AP->OutStreamer->emitBytes("0");
- AP->OutStreamer->SwitchSection(
+ AP->OutStreamer->switchSection(
MC->getELFSection(".zdebug_bar", 0 /*Type*/, 0 /*Flags*/));
AP->OutStreamer->emitBytes("0");