[PATCH] Add a new pass to compute DWARF path discriminators.

Eric Christopher echristo at gmail.com
Mon Feb 10 17:18:43 PST 2014


  I think you're calling it with bad arguments - the Scope for a lexical block should never be NULL. You could probably just assert that in the DIBuilder. Look for the call to getNonCompileUnitScope - it's likely there that you're running into problems.

  A small patch to add the assert at the right place for creating a lexical block should probably work as well.

http://llvm-reviews.chandlerc.com/D2691



More information about the llvm-commits mailing list