[llvm] r218502 - llvm-vtabledump: strip trailing NUL bytes

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Oct 6 13:03:06 PDT 2014


On 26 September 2014 17:52, David Majnemer <david.majnemer at gmail.com> wrote:
> I think it makes a lot of sense to make hex output the default. The number
> of times I've wanted octal output is 000.

An advantage of octal is that in c/c++ code octal escapes have at most
3 characters, but hex ones can have any number of characters, which
makes printing them harder (write_escaped would have to print
something like \xab"".... if the following character is a valid hex
digit).

Cheers,
Rafael



More information about the llvm-commits mailing list