From 08b54f284e1baf726b28e11520aec25d6da9f322 Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdh8d@virginia.edu> Date: Sun, 24 Feb 2019 19:25:02 -0500 Subject: [PATCH] Fixed more assm_comment issues --- src/ehwrite.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ehwrite.cpp b/src/ehwrite.cpp index bbe4b8d61..dc93fb75b 100644 --- a/src/ehwrite.cpp +++ b/src/ehwrite.cpp @@ -1078,11 +1078,11 @@ void EhWriterImpl_t<ptrsize>::GenerateEhOutput() } else { - out<<" // 1) encoding of next field "<<endl; - out<<" .byte 0x1b // DW_EH_PE_pcrel (0x10) |sdata4 (0xb)"<<endl; + out<<asm_comment<<" 1) encoding of next field "<<endl; + out<<" .byte 0x1b "<<asm_comment<<" DW_EH_PE_pcrel (0x10) |sdata4 (0xb)"<<endl; out<<""<<endl; - out<<" // 2) landing pad base, if omitted, use FDE start addr"<<endl; - out<<" .int 0x"<<hex<<landing_pad_base<<"- . // as pcrel|sdata4 . "<<endl; + out<<" "<<asm_comment<<" 2) landing pad base, if omitted, use FDE start addr"<<endl; + out<<" .int 0x"<<hex<<landing_pad_base<<"- . "<<asm_comment<<" as pcrel|sdata4 . "<<endl; } out<<""<<endl; out<<asm_comment<<" 3) encoding of type table entries"<<endl; -- GitLab