[PATCH] D71732: Move the sysroot attribute from DIModule to DICompileUnit

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 19 16:04:55 PST 2019


aprantl marked an inline comment as done.
aprantl added inline comments.


================
Comment at: llvm/lib/Bitcode/Writer/BitcodeWriter.cpp:1664
   Record.push_back((unsigned)N->getNameTableKind());
+  Record.push_back(false);
+  Record.push_back(VE.getMetadataOrNullID(N->getRawSysRoot()));
----------------
@dblaikie This is a workaround for the bug I documented in https://reviews.llvm.org/D54242#inline-649516


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D71732/new/

https://reviews.llvm.org/D71732





More information about the llvm-commits mailing list