File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ $(P All implementations must support these, even if by just ignoring them:)
62
62
$(UL
63
63
$(LI $(LINK2 #inline, pragma inline))
64
64
$(LI $(LINK2 #lib, pragma lib))
65
+ $(LI $(LINK2 #linkerDirective, pragma linkerDirective))
65
66
$(LI $(LINK2 #mangle, pragma mangle))
66
67
$(LI $(LINK2 #msg, pragma msg))
67
68
$(LI $(LINK2 #startaddress, pragma startaddress))
@@ -137,6 +138,20 @@ pragma(lib, "foo.lib");
137
138
so the linker automatically links in that library.
138
139
)
139
140
141
+ $(H3 $(LNAME2 linkerDirective, $(D pragma linkerDirective)))
142
+
143
+ $(P There must be one $(ASSIGNEXPRESSION) and it must evaluate at compile time to a string literal.
144
+ )
145
+ -----------------
146
+ pragma(linkerDirective, "/FAILIFMISMATCH:_ITERATOR_DEBUG_LEVEL=2");
147
+ -----------------
148
+
149
+ $(IMPLEMENTATION_DEFINED
150
+ $(P The string literal specifies a linker directive to be embedded in the generated object file.)
151
+
152
+ $(P Linker directives are only supported for MS-COFF output.)
153
+ )
154
+
140
155
$(H3 $(LNAME2 mangle, $(D pragma mangle)))
141
156
142
157
$(P Overrides the default mangling for a symbol.)
You can’t perform that action at this time.
0 commit comments