[PATCH] D42926: [CodeView] Initial support for emitting S_BLOCK32 symbols for lexical scopes
David Majnemer via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 09:18:17 PST 2018
majnemer added inline comments.
================
Comment at: llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp:2374-2375
+
+ const SmallVectorImpl<InsnRange> &Ranges = Scope.getRanges();
+ if (Ranges.size() != 1 || !getLabelAfterInsn(Ranges.front().second)) {
+ // This lexical block scope has too many address ranges to represent in the
----------------
This may be a silly question but I am curious... Could one emit a S_BLOCK32 entry for each range?
https://reviews.llvm.org/D42926
More information about the llvm-commits
mailing list