diff options
| author | Peter Collingbourne <peter@pcc.me.uk> | 2017-09-12 21:50:41 +0000 |
|---|---|---|
| committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-09-12 21:50:41 +0000 |
| commit | b52e23669cbd8637819d9ff7777d43cbc3bf8f31 (patch) | |
| tree | 50b6f514a58df8209c56928ac50a4fa1bc041c6e /llvm/lib/IR/AsmWriter.cpp | |
| parent | e4dacb750da45f4183ae67868d7283a89efe0b40 (diff) | |
| download | bcm5719-llvm-b52e23669cbd8637819d9ff7777d43cbc3bf8f31.tar.gz bcm5719-llvm-b52e23669cbd8637819d9ff7777d43cbc3bf8f31.zip | |
IR: Represent -ggnu-pubnames with a flag on the DICompileUnit.
This allows the flag to be persisted through to LTO.
Differential Revision: https://reviews.llvm.org/D37655
llvm-svn: 313078
Diffstat (limited to 'llvm/lib/IR/AsmWriter.cpp')
| -rw-r--r-- | llvm/lib/IR/AsmWriter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/AsmWriter.cpp b/llvm/lib/IR/AsmWriter.cpp index 3443c6a3d78..f351aa1d615 100644 --- a/llvm/lib/IR/AsmWriter.cpp +++ b/llvm/lib/IR/AsmWriter.cpp @@ -1742,6 +1742,7 @@ static void writeDICompileUnit(raw_ostream &Out, const DICompileUnit *N, Printer.printBool("splitDebugInlining", N->getSplitDebugInlining(), true); Printer.printBool("debugInfoForProfiling", N->getDebugInfoForProfiling(), false); + Printer.printBool("gnuPubnames", N->getGnuPubnames(), false); Out << ")"; } |

