| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
llvm-svn: 192519
|
|
|
|
|
|
|
|
|
|
| |
for StringRef with a StringMap
The bug is that the empty key compares equal to the tombstone key.
Also added an assertion to DenseMap to catch similar bugs in future.
llvm-svn: 187866
|
|
|
|
|
|
|
| |
Previously, it would simply output nothing, but it should output an
empty string `""`.
llvm-svn: 185894
|
|
|
|
|
|
| |
Thanks to Benjamin Kramer for the suggestion.
llvm-svn: 183540
|
|
|
|
|
|
|
| |
This hides the implementation. A future commit will remove the
error-prone getHex() and getBinary() methods.
llvm-svn: 183352
|
|
|
|
|
|
| |
And add a doxygen comment.
llvm-svn: 183350
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, yaml2coff.cpp had a writeHexData static helper function to
do this, but it is generally useful functionality.
Also, validate hex strings up-front to avoid running having to handle
errors "deep inside" the yaml2obj code (it also gives better diagnostics
than it used to).
llvm-svn: 183345
|
|
It will be used for ELF dumping too.
llvm-svn: 183287
|