We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f2efeb commit fc1ecdaCopy full SHA for fc1ecda
runtime/vm/image_snapshot.cc
@@ -560,8 +560,11 @@ class DwarfAssemblyStream : public DwarfWriteStream {
560
Print(".L%s_end:\n", prefix);
561
}
562
void OffsetFromSymbol(const char* symbol, intptr_t offset) {
563
- if (offset == 0) PrintNamedAddress(symbol);
564
- PrintNamedAddressWithOffset(symbol, offset);
+ if (offset == 0) {
+ PrintNamedAddress(symbol);
565
+ } else {
566
+ PrintNamedAddressWithOffset(symbol, offset);
567
+ }
568
569
void DistanceBetweenSymbolOffsets(const char* symbol1,
570
intptr_t offset1,
0 commit comments