9312 ctf: be less clever about skipping 'extern' variables declarations 9864 DWARF->CTF enum conversion needs to be careful of sign

Review Request #1375 - Created Jan. 17, 2019 and submitted

Information
Toomas Soome
illumos-gate
9312, 9864
5ae2fc5...
Reviewers
general
9312 ctf: be less clever about skipping 'extern' variables declarations 9864 DWARF->CTF enum conversion needs to be careful of sign

dtrace -q -n 'BEGIN { printf("ok\n"); exit(0); }'

ok

/opt/SUNWdtrt/bin/dtest

==== TEST RESULTS ====

 mode: /usr/sbin/dtrace

passed: 1265
failed: 13
total: 1278

> ::enum ddi_hp_cn_state_t
      VALUE NAME                                                            
       4096 DDI_HP_CN_STATE_EMPTY
       8192 DDI_HP_CN_STATE_PRESENT
      12288 DDI_HP_CN_STATE_POWERED
      16384 DDI_HP_CN_STATE_ENABLED
      20480 DDI_HP_CN_STATE_PORT_EMPTY
      24576 DDI_HP_CN_STATE_PORT_PRESENT
      28672 DDI_HP_CN_STATE_OFFLINE
      32768 DDI_HP_CN_STATE_ATTACHED
      36864 DDI_HP_CN_STATE_MAINTENANCE
      40960 DDI_HP_CN_STATE_ONLINE
Toomas Soome
Igor Kozhukhov
Andy Fiddaman
Toomas Soome
Toomas Soome
Toomas Soome
Toomas Soome
Review request changed

Status: Closed (submitted)

Loading...