[PATCH] D47615: [DebugInfo] Adding DISubprogram::setFlags identical to DIType::setFlags

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 1 09:28:16 PDT 2018


aprantl added a comment.

I didn't realize the DIBuilder was using the same workflow in `createTypeWithFlags()`. What do you think about making this method private and only having DIBuilder call it in a controlled setting (and add a DIBuilder createSubprogramWithFlags() method)?


Repository:
  rL LLVM

https://reviews.llvm.org/D47615





More information about the llvm-commits mailing list