Duncan P. N. Exon Smith
3b631d291e
Support: Add dwarf::getOperationEncoding()
...
llvm-svn: 229001
2015-02-13 01:05:00 +00:00
Duncan P. N. Exon Smith
7f95aacfe6
Support: Fix tests for VirtualityString
...
Since these `dwarf` functions return `const char *`, the tests need to
use `StringRef` for checks. Should fix, e.g., hexagon [1].
[1]: http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/22435
llvm-svn: 228478
2015-02-07 01:07:30 +00:00
Duncan P. N. Exon Smith
e7e2abe6a2
Support: Add dwarf::getVirtuality()
...
llvm-svn: 228474
2015-02-07 00:37:15 +00:00
Duncan P. N. Exon Smith
d6f3574210
Support: Use Dwarf.def for DW_VIRTUALITY, NFC
...
Use definition file for `DW_VIRTUALITY_*`. Add a `DW_VIRTUALITY_max`
both for ease of testing and for future use by the `LLParser`.
llvm-svn: 228473
2015-02-07 00:36:23 +00:00
Duncan P. N. Exon Smith
e07f13ae35
Support: Add dwarf::getAttributeEncoding()
...
llvm-svn: 228470
2015-02-06 23:46:49 +00:00
Duncan P. N. Exon Smith
8d4eeb53f6
Support: Stop stringifying DW_ATE_{lo,hi}_user
...
llvm-svn: 228468
2015-02-06 23:44:24 +00:00
Duncan P. N. Exon Smith
d40af00e66
Support: Add dwarf::getLanguage()
...
llvm-svn: 228458
2015-02-06 22:55:13 +00:00
Duncan P. N. Exon Smith
4031beb10a
Support: Stop stringifying DW_LANG_{lo,hi}_user
...
llvm-svn: 228451
2015-02-06 22:34:48 +00:00
Duncan P. N. Exon Smith
6f5546cdee
Support: Add string => unsigned mapping for DW_TAG
...
Add `dwarf::getTag()` to translate from `StringRef` to `unsigned`.
llvm-svn: 228031
2015-02-03 21:16:49 +00:00
Duncan P. N. Exon Smith
b036f1c98c
Support: Stop stringifying DW_TAG_{lo,hi}_user
...
`dwarf::TagString()` shouldn't stringify `DW_TAG_lo_user` or
`DW_TAG_hi_user`. These aren't actual tags; they're markers for the
edge of vendor-specific tag regions.
llvm-svn: 228029
2015-02-03 21:08:33 +00:00