Rename @asmname to @_silgen_name.

This reflects the fact that the attribute's only for compiler-internal use, and isn't really equivalent to C's asm attribute, since it doesn't change the calling convention to be C-compatible.
This commit is contained in:
Joe Groff
2015-11-17 13:43:48 -08:00
parent a3b6bef4e5
commit fbd2e4d872
94 changed files with 253 additions and 253 deletions

View File

@@ -421,7 +421,7 @@ VarDecl *Module::getDSOHandle() {
type, Files[0]);
handleVar->setImplicit(true);
handleVar->getAttrs().add(
new (ctx) AsmnameAttr("__dso_handle", /*Implicit=*/true));
new (ctx) SILGenNameAttr("__dso_handle", /*Implicit=*/true));
handleVar->setAccessibility(Accessibility::Internal);
DSOHandleAndFlags.setPointer(handleVar);
return handleVar;