~ubuntu-branches/ubuntu/quantal/llvm-3.1/quantal

« back to all changes in this revision

Viewing changes to lib/Support/Triple.cpp

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2012-04-10 23:38:33 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120410233833-5ibwguerdnr58six
Tags: 3.1~svn154439-1
* New snapshot release
* Change the soname to match what Debian is expecting
* Clean up the dh_shlibdeps call

Show diffs side-by-side

added added

removed removed

Lines of Context:
88
88
  case Apple: return "apple";
89
89
  case PC: return "pc";
90
90
  case SCEI: return "scei";
 
91
  case BGP: return "bgp";
 
92
  case BGQ: return "bgq";
91
93
  }
92
94
 
93
95
  llvm_unreachable("Invalid VendorType!");
116
118
  case Minix: return "minix";
117
119
  case RTEMS: return "rtems";
118
120
  case NativeClient: return "nacl";
 
121
  case CNK: return "cnk";
119
122
  }
120
123
 
121
124
  llvm_unreachable("Invalid OSType");
258
261
    .Case("apple", Triple::Apple)
259
262
    .Case("pc", Triple::PC)
260
263
    .Case("scei", Triple::SCEI)
 
264
    .Case("bgp", Triple::BGP)
 
265
    .Case("bgq", Triple::BGQ)
261
266
    .Default(Triple::UnknownVendor);
262
267
}
263
268
 
282
287
    .StartsWith("minix", Triple::Minix)
283
288
    .StartsWith("rtems", Triple::RTEMS)
284
289
    .StartsWith("nacl", Triple::NativeClient)
 
290
    .StartsWith("cnk", Triple::CNK)
285
291
    .Default(Triple::UnknownOS);
286
292
}
287
293