<div dir="ltr">Hello,<br><br>Building an object file with ToT Clang:<br><br>> Debug+Asserts/bin/clang -o penalty2.o -c penalty.cpp -g<br><br>These are the debug-related sections produced:<br><br>$ readelf -S penalty2.o |grep debug<br>

  [ 5] .debug_info       PROGBITS         0000000000000000  00000bd0<br>  [ 6] .rela.debug_info  RELA             0000000000000000  00002f80<br>  [ 7] .debug_abbrev     PROGBITS         0000000000000000  000010b8<br>  [ 8] .debug_aranges    PROGBITS         0000000000000000  000011c3<br>

  [ 9] .debug_macinfo    PROGBITS         0000000000000000  000011c3<br>  [10] .debug_line       PROGBITS         0000000000000000  000011c3<br>  [11] .rela.debug_line  RELA             0000000000000000  00003850<br>  [12] .debug_loc        PROGBITS         0000000000000000  00001350<br>

  [13] .debug_pubtypes   PROGBITS         0000000000000000  00001350<br>  [14] .rela.debug_pubty RELA             0000000000000000  00003868<br>  [15] .debug_str        PROGBITS         0000000000000000  00001373<br>  [16] .debug_ranges     PROGBITS         0000000000000000  000015ff<br>

<br>There's no ".debug_frame", although ".eh_frame" was produced. Doesn't Clang/LLVM create the .debug_frame section by default?<br><br>Thanks in advance,<br>Eli<br><br></div>