diff options
author | Fangrui Song <i@maskray.me> | 2022-06-10 22:50:55 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2022-06-10 22:50:55 -0700 |
commit | adf4142f76831848732861769a807d1047102c53 (patch) | |
tree | 850eb26fd50c8e9803c225179b0bc1383940c6c6 /llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | |
parent | 2e603c67c204b6bc9d96bf090ef4fd3a5b04aa51 (diff) | |
download | llvm-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.cpp | 4 |
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"); |