Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: test/win/linker-flags/safeseh_hello.cc

Issue 217813007: Pass the /safeseh option to ml.exe. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: Rename the assmebly code test file. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/win/linker-flags/safeseh_hello.cc
diff --git a/test/ios/app-bundle/tool_main.cc b/test/win/linker-flags/safeseh_hello.cc
similarity index 78%
copy from test/ios/app-bundle/tool_main.cc
copy to test/win/linker-flags/safeseh_hello.cc
index 9dc3c94f3431be00adb755f6515b995d734e089b..6141300d2c0a517a8f79075619d089be0ddbf2ea 100644
--- a/test/ios/app-bundle/tool_main.cc
+++ b/test/win/linker-flags/safeseh_hello.cc
@@ -2,6 +2,10 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+extern "C" {
+int zero(void);
+}
+
int main() {
- return 0;
+ return zero();
}

Powered by Google App Engine
This is Rietveld 408576698