Skip to content
  1. Nov 05, 2013
    • Yuchen Wu's avatar
      Added basic unit test for llvm-cov. · 0b8e9a14
      Yuchen Wu authored
      This test compares the output of llvm-cov against a coverage file
      generated by gcov.
      
      llvm-svn: 194038
      0b8e9a14
    • Rui Ueyama's avatar
      Remove unnecessary namespace qualifier. · c1800beb
      Rui Ueyama authored
      llvm-svn: 194037
      c1800beb
    • Evgeniy Stepanov's avatar
      [msan] Fix a very unfortunate typo in origin copying. · 1c8c3fe4
      Evgeniy Stepanov authored
      It was causing randomly missing origins.
      
      llvm-svn: 194036
      1c8c3fe4
    • Greg Clayton's avatar
      Update ABISysV_x86_64.cpp to use more efficient register finding calls. · bb3a9b74
      Greg Clayton authored
      Instead of looking up registers by name, we use the generic ID when we can.
      
      Also added code that creates an extra frame when running expressions by pushing the current PC and FP and then hooking up the FP backchain. This code is "#if 0" out for now until we can pair it with unwinder fixes.
      
      llvm-svn: 194035
      bb3a9b74
    • Yuchen Wu's avatar
      llvm-cov: Added command-line option to change dir. · 446e991f
      Yuchen Wu authored
      This will allow for much easier testing when the input files are in a
      different folder from the test script.
      
      llvm-svn: 194034
      446e991f
    • Yuchen Wu's avatar
      Support for reading run counts in llvm-cov. · 30672d90
      Yuchen Wu authored
      This patch enables llvm-cov to correctly output the run count stored in
      the GCDA file. GCOVProfiling currently does not generate this
      information, so the GCDA run data had to be hacked on from a GCDA file
      generated by gcc. This is corrected by a subsequent patch.
      
      With the run and program data included, both llvm-cov and gcov produced
      the same output.
      
      llvm-svn: 194033
      30672d90
    • Rafael Espindola's avatar
      Fix MSVC build by not putting an error_code directly in a union. · 2bad63c3
      Rafael Espindola authored
      llvm-svn: 194032
      2bad63c3
    • Fariborz Jahanian's avatar
      ObjectiveC. Method implementations should only check for · ce4bbb25
      Fariborz Jahanian authored
      "Missing call to Super" in the overriding method and
      not in the method itself. // rdar://15385981.
      
      llvm-svn: 194031
      ce4bbb25
    • Rafael Espindola's avatar
      Simplify ErrorOr. · ca35ffe6
      Rafael Espindola authored
      ErrorOr had quiet a bit of complexity and indirection to be able to hold a user
      type with the error.
      
      That feature is not used anymore. This patch removes it, it will live in svn
      history if we ever need it again.
      
      If we do need it again, IMHO there is one thing that should be done
      differently: Holding extra info in the error is not a property a function also
      returning a value or not. The ability to hold extra info should be in the error
      type and ErrorOr templated over it so that we don't need the funny looking
      ErrorOr<void>.
      
      llvm-svn: 194030
      ca35ffe6
    • Jason Molenda's avatar
      Fix the architectural default unwind plan's settings for restoring · 8065867f
      Jason Molenda authored
      the stack pointer.
      
      llvm-svn: 194029
      8065867f
    • Rafael Espindola's avatar
      Replace ErrorOr<void> with error_code. · 75c2ae96
      Rafael Espindola authored
      It was never transporting any value in addition to the error_code.
      
      llvm-svn: 194028
      75c2ae96
    • Hal Finkel's avatar
      Add a runtime unrolling parameter to the LoopUnroll pass constructor · 081eaef6
      Hal Finkel authored
      As with the other loop unrolling parameters (the unrolling threshold, partial
      unrolling, etc.) runtime unrolling can now also be controlled via the
      constructor. This will be necessary for moving non-trivial unrolling late in
      the pass manager (after loop vectorization).
      
      No functionality change intended.
      
      llvm-svn: 194027
      081eaef6
    • NAKAMURA Takumi's avatar
      Revert r194019 to r194021, "Submit the basic port of the rest of ARM constant... · 5267613e
      NAKAMURA Takumi authored
      Revert r194019 to r194021, "Submit the basic port of the rest of ARM constant islands code to Mips."
      
      It broke -Asserts build.
      
      llvm-svn: 194026
      5267613e
    • Tim Northover's avatar
      ARM: remove unnecessary state-tracking during frame lowering. · c9432eb9
      Tim Northover authored
      ResolveFrameIndex had what appeared to be a very nasty hack for when the
      frame-index referred to a callee-saved register. In this case it "adjusted" the
      offset so that the address was correct if (and only if) the MachineInstr
      immediately followed the respective push.
      
      This "worked" for all forms of GPR & DPR but was only ever used to set the
      frame pointer itself, and once this was put in a more sensible location the
      entire state-tracking machinery it relied on became redundant. So I stripped
      it.
      
      The only wrinkle is that "add r7, sp, #0" might theoretically be slower (need
      an actual ALU slot) compared to "mov r7, sp" so I added a micro-optimisation
      that also makes emitARMRegUpdate and emitT2RegUpdate also work when NumBytes ==
      0.
      
      No test changes since there shouldn't be any functionality change.
      
      llvm-svn: 194025
      c9432eb9
    • Tim Northover's avatar
      AArch64: use default asm operand printing when modifier inapplicable · ace0bd4d
      Tim Northover authored
      If an inline assembly operand has multiple constraints (e.g. "Ir" for immediate
      or register) and an operand modifier (E.g. "w" for "print register as wN") then
      we need to decide behaviour when the modifier doesn't apply to the constraint.
      
      Previousely produced some combination of an assertion failure and a fatal
      error. GCC's behaviour appears to be to ignore the modifier and print the
      operand in the default way. This patch should implement that.
      
      llvm-svn: 194024
      ace0bd4d
  2. Nov 04, 2013
Loading