Skip to content
  1. Dec 16, 2013
    • Rui Ueyama's avatar
      [PECOFF] Set OrdinalBase field in the export table. · 69b899a1
      Rui Ueyama authored
      OrdinalBase is an addend to the ordinals. We used to always set 1 to the field.
      Although it produced a valid a DLL export table, it'd be a waste if the first
      ordinal does not start with 1 -- we had to have NULL fields at the beginning of
      the export address table. By setting the ordinal base, we can eliminate the
      NULL fields.
      
      llvm-svn: 197367
      69b899a1
    • Evgeniy Stepanov's avatar
      Fix Android regression in r197332. · a1df6379
      Evgeniy Stepanov authored
      llvm-svn: 197366
      a1df6379
    • Rui Ueyama's avatar
      [PECOFF] Export ordinal must be in the range 1 through 65535. · 0e05713d
      Rui Ueyama authored
      llvm-svn: 197365
      0e05713d
    • Rui Ueyama's avatar
      [PECOFF] Make it possible to specify export ordinals. · fe1b3c09
      Rui Ueyama authored
      You can specify exported function's ordinal by /export:func,@<number> command
      line option, but LLD ignored the option until now. This patch implements the
      feature.
      
      Ordinal is basically the index into the exported function address table. So,
      for example, if /export:foo,@42 is specified, the linker writes foo's address
      to 42th entry in the address table. Windows supports import-by-ordinal; you
      can not only import a function by name, but by its ordinal. If you want to
      allow your DLL users to import your functions by their ordinals, you need to
      make sure that your functions are always exported with the same ordinals.
      This is the feature for that situation.
      
      llvm-svn: 197364
      fe1b3c09
    • Duncan P. N. Exon Smith's avatar
      Stop crashing on empty asm input constraints · d68c7aa7
      Duncan P. N. Exon Smith authored
      An empty string for an ASM input constraint is invalid, and will crash
      during clang CodeGen.  Change TargetInfo::validateInputConstraint to
      reject an empty string.
      
      <rdar://problem/15552191>
      
      llvm-svn: 197362
      d68c7aa7
    • Hao Liu's avatar
      [AArch64]Fix the pattern match failure for v1i8/v1i16/v1i32 types. · 774cabb5
      Hao Liu authored
      Currently we have such types as legal vector types. The DAG combiner may generate some DAG nodes having such types but we don't have patterns to match them.
      E.g. a load i32 and a bitcast i32 to v1i32 will be combined into a load v1i32:
           bitcast (load i32) to v1i32 -> load v1i32.
      So this patch fixes such problems for load/dup instructions.
      If v1i8/v1i16/v1i32 are not legal any more, the code in this patch can be deleted. So I also add some FIXME.
      
      llvm-svn: 197361
      774cabb5
    • Reed Kotler's avatar
      remove an uneeded statement (condition is covered by the statement · b69ea1e9
      Reed Kotler authored
      that follows).
      
      llvm-svn: 197358
      b69ea1e9
    • Reed Kotler's avatar
      Fix some indentation. · 06b3c4f4
      Reed Kotler authored
      llvm-svn: 197357
      06b3c4f4
  2. Dec 15, 2013
  3. Dec 14, 2013
Loading