diff options
author | Fangrui Song <i@maskray.me> | 2020-09-26 15:57:09 -0700 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2020-09-26 15:57:13 -0700 |
commit | 20e9c36c013c4a9b13cf256ca5262afe3def78ad (patch) | |
tree | c9bffa41a92f968dfdfe99aa24033df1d87e7ba2 /llvm/tools/llvm-dwp/llvm-dwp.cpp | |
parent | 6f24774fc4e296b9047e5873c070af4e0fd638e5 (diff) | |
download | llvm-20e9c36c013c4a9b13cf256ca5262afe3def78ad.zip llvm-20e9c36c013c4a9b13cf256ca5262afe3def78ad.tar.gz llvm-20e9c36c013c4a9b13cf256ca5262afe3def78ad.tar.bz2 |
Internalize functions from various tools. NFC
And internalize some classes if I noticed them:)
Diffstat (limited to 'llvm/tools/llvm-dwp/llvm-dwp.cpp')
-rw-r--r-- | llvm/tools/llvm-dwp/llvm-dwp.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/tools/llvm-dwp/llvm-dwp.cpp b/llvm/tools/llvm-dwp/llvm-dwp.cpp index d5ebe5a..7bd7575 100644 --- a/llvm/tools/llvm-dwp/llvm-dwp.cpp +++ b/llvm/tools/llvm-dwp/llvm-dwp.cpp @@ -377,7 +377,8 @@ writeIndex(MCStreamer &Out, MCSection *Section, &DWARFUnitIndex::Entry::SectionContribution::Length); } -std::string buildDWODescription(StringRef Name, StringRef DWPName, StringRef DWOName) { +static std::string buildDWODescription(StringRef Name, StringRef DWPName, + StringRef DWOName) { std::string Text = "\'"; Text += Name; Text += '\''; |