Skip to content
  1. Oct 30, 2013
    • Manman Ren's avatar
      Debug Info: code clean up. · 251a1bd2
      Manman Ren authored
      Use EmitLabelOffsetDifference for handling on darwin platform when
      non-darwin platforms use EmitLabelPlusOffset.
      
      Also fix a bug in EmitLabelOffsetDifference where the size is hard-coded
      to 4 even though Size is passed in as an argument.
      
      llvm-svn: 193660
      251a1bd2
    • Enrico Granata's avatar
      <rdar://problem/15296388> · 0947a6e9
      Enrico Granata authored
      Fix a crasher that would occur if one tried to read memory as characters of some size != 1, e.g.
      x -f c -s 10  buffer
      
      This commit tries to do the right thing and uses the byte-size as the number of elements, unless both are specified and the number of elements is != 1
      In this latter case (e.g. x -f c -s 10 -c 3  buffer) one could multiply the two and read 30 characters, but it seems a stretch in mind reading.
      
      llvm-svn: 193659
      0947a6e9
  2. Oct 29, 2013
Loading