mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-30 14:01:39 +00:00
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
This commit is contained in:
1 parent
e4dacb750d
commit
b52e23669c
26 files changed
+196
-181
No files matched your search
@@ -1555,6 +1555,7 @@ void ModuleBitcodeWriter::writeDICompileUnit(const DICompileUnit *N,
|
||||
Record.push_back(VE.getMetadataOrNullID(N->getMacros().get()));
|
||||
Record.push_back(N->getSplitDebugInlining());
|
||||
Record.push_back(N->getDebugInfoForProfiling());
|
||||
Record.push_back(N->getGnuPubnames());
|
||||
|
||||
Stream.EmitRecord(bitc::METADATA_COMPILE_UNIT, Record, Abbrev);
|
||||
Record.clear();
|
||||
|
||||
Reference in new issue
Block a user