diag-wrong-magic-number-mixed.d 843 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #as:
  2. #source: diag-wrong-magic-number.s
  3. #source: B.c
  4. #ld: -shared --ctf-variables
  5. #name: Diagnostics - Wrong magic number mixed with valid CTF sections
  6. #warning: CTF section in .* not loaded; its types will be discarded: Buffer does not contain CTF data
  7. .*: +file format .*
  8. Contents of CTF section .ctf:
  9. Header:
  10. Magic number: 0xdff2
  11. Version: 4 \(CTF_VERSION_3\)
  12. #...
  13. Variable section: 0x0 -- 0x17 \(0x18 bytes\)
  14. Type section: 0x18 -- 0x83 \(0x6c bytes\)
  15. String section: .*
  16. Labels:
  17. Data objects:
  18. Function objects:
  19. Variables:
  20. #...
  21. b -> 0x[0-9a-f]*: struct B \(.*
  22. #...
  23. Types:
  24. #...
  25. 0x[0-9a-f]*: struct B \(.*
  26. *\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 6\) struct B \(.*
  27. *\[0x0\] \(ID 0x[0-9a-f]*\) \(kind 3\) struct C \* c \(.*
  28. #...
  29. Strings:
  30. 0x0:
  31. #...
  32. 0x[0-9a-f]*: B
  33. #...