Skip to content
  1. Dec 20, 2013
    • Rafael Espindola's avatar
    • Kevin Enderby's avatar
      Un-revert: the buildbot failure in LLVM on lld-x86_64-win7 had me with · 36eba25f
      Kevin Enderby authored
      this commit as the only one on the Blamelist so I quickly reverted this.
      However it was actually Nick's change who has since fixed that issue.
      
      Original commit message:
      
      Changed the X86 assembler for intel syntax to work with directional labels.
      
      The X86 assembler as a separate code to parser the intel assembly syntax
      in X86AsmParser::ParseIntelOperand().  This did not parse directional labels.
      And if something like 1f was used as a branch target it would get an
      "Unexpected token" error.
      
      The fix starts in X86AsmParser::ParseIntelExpression() in the case for
      AsmToken::Integer, it needs to grab the IntVal from the current token
      then look for a 'b' or 'f' following an Integer.  Then it basically needs to
      do what is done in AsmParser::parsePrimaryExpr() for directional
      labels.  It saves the MCExpr it creates in the IntelExprStateMachine
      in the Sym field.
      
      When it returns to X86AsmParser::ParseIntelOperand() it looks
      for a non-zero Sym field in the IntelExprStateMachine and if
      set it creates a memory operand not an immediate operand
      it would normally do for the Integer.
      
      rdar://14961158
      
      llvm-svn: 197744
      36eba25f
    • Rafael Espindola's avatar
      Use $ORIGIN when setting rpath. · 6ad1b3fe
      Rafael Espindola authored
      This matches what the configure build does.
      
      Patch by Jan Vesely.
      
      Fixes pr14189.
      
      llvm-svn: 197743
      6ad1b3fe
    • Rafael Espindola's avatar
      Change getStringRepresentation to skip defaults. · 458a4851
      Rafael Espindola authored
      I have a pending change for clang to use getStringRepresentation to check
      that its DataLayout is in sync with llvm's.
      
      getStringRepresentation is not called from llvm itself, so far it is mostly
      a debugging aid, so the shorter strings are an independent improvement.
      
      llvm-svn: 197740
      458a4851
  2. Dec 19, 2013
Loading