1. 14 Oct, 2015 1 commit
  2. 13 Oct, 2015 3 commits
  3. 12 Oct, 2015 2 commits
    • Marius Wachtler's avatar
      fix a very bad stack map bug where symbolic entries could end up having the wrong location offset · ede85e07
      Marius Wachtler authored
      My sym entry llvm stackmap patch contains a bug where it will emit stackmap entries with the wrong offset into the large constants array.
      The problem is that the code assumes that the symbolic stack map constants are emitted at the end of the constants array,
      but doen't take into consideration that "normal" large constants can be added after symbolic entries.
      Thereby making the assigned offsets point to the wrong constants.
      To fix this issue I'm calculating the offset for symbolic entries now at the very end when we know that the number of constants can't change anymore.
      A nicer fix would be to not emit the symbolic entries inside the large cosntants array but instead into a special one.
      But I think this is overkill for now and would like to todo this when the stackmap v2 code landed inside llvm in order to not have to implement it twice.
      ede85e07
    • Marius Wachtler's avatar
  4. 10 Oct, 2015 7 commits
  5. 09 Oct, 2015 1 commit
  6. 08 Oct, 2015 3 commits
  7. 07 Oct, 2015 5 commits
  8. 06 Oct, 2015 12 commits
  9. 05 Oct, 2015 1 commit
  10. 04 Oct, 2015 2 commits
  11. 02 Oct, 2015 3 commits
    • Kevin Modzelewski's avatar
      Merge pull request #949 from kmod/return_conventions · 2a0955bb
      Kevin Modzelewski authored
      Add more asserts to aggressively enforce return conventions
      2a0955bb
    • Kevin Modzelewski's avatar
      Add more asserts to aggressively enforce return conventions · 7d839c02
      Kevin Modzelewski authored
      You can't get the return value from a RewriteArgs without
      looking at the return convention.  Debug mode will check the
      return convention during the execution of rewrites.
      
      Split "VALID_RETURN" into "HAS_RETURN" and "CAPI_RETURN" since some
      places used it to mean either.
      
      Hopefully this helps keep things clean.  There are a lot of places that
      were implictly assuming a certain return convention, but now that they
      have to explicitly assume it, the issues are more obvious.  Plus
      they will get checked in the debug builds.
      
      Also tried to fix things up while going through and doing this refactoring;
      I think I found a number of issues.
      7d839c02
    • Kevin Modzelewski's avatar
      Merge pull request #939 from undingen/m2crypto · 6d143b9f
      Kevin Modzelewski authored
      add m2crypto test + fix missing stuff
      6d143b9f