When llvm-dwarfdump encounters no null terminated strings, we should
warn user about it rather than ignore it and print nothing.
Before this patch, when llvm-dwarfdump dumps a .debug_str section whose
content is "abc", it prints:
.debug_str contents:
After this patch:
.debug_str contents: warning: no null terminated string at offset 0x0
operator bool sets the checked state if Error is in a success state.
So you can just run: (void)!Err
If you want to ensure an Error in a success state is also checked (not in this case), ErrorAsOutParameter ...(&Err)