diff options
author | Eric Christopher <echristo@gmail.com> | 2016-10-14 05:47:37 +0000 |
---|---|---|
committer | Eric Christopher <echristo@gmail.com> | 2016-10-14 05:47:37 +0000 |
commit | 445c952bd0a3b35244476ba7ef9ff44b5483dfea (patch) | |
tree | 0fe105aeff7cb9bd6434e8ed59147df7183cadc3 /llvm/lib/MC/MCDwarf.cpp | |
parent | b2437da9688c2aa30f6a0a6c13d08b4245d5fce7 (diff) | |
download | bcm5719-llvm-445c952bd0a3b35244476ba7ef9ff44b5483dfea.tar.gz bcm5719-llvm-445c952bd0a3b35244476ba7ef9ff44b5483dfea.zip |
Tidy the calls to getCurrentSection().first -> getCurrentSectionOnly to help
readability a bit.
llvm-svn: 284202
Diffstat (limited to 'llvm/lib/MC/MCDwarf.cpp')
-rw-r--r-- | llvm/lib/MC/MCDwarf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCDwarf.cpp b/llvm/lib/MC/MCDwarf.cpp index ed27eae87ff..a7551a3283a 100644 --- a/llvm/lib/MC/MCDwarf.cpp +++ b/llvm/lib/MC/MCDwarf.cpp @@ -917,7 +917,7 @@ void MCGenDwarfLabelEntry::Make(MCSymbol *Symbol, MCStreamer *MCOS, MCContext &context = MCOS->getContext(); // We won't create dwarf labels for symbols in sections that we are not // generating debug info for. - if (!context.getGenDwarfSectionSyms().count(MCOS->getCurrentSection().first)) + if (!context.getGenDwarfSectionSyms().count(MCOS->getCurrentSectionOnly())) return; // The dwarf label's name does not have the symbol name's leading |