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

Unified Diff: tests/irt_private_pthread/nacl.scons

Issue 140653005: Adds tls_edit utility which patches irt_core.nexe's TLS usage. (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Rebased to master Created 6 years, 10 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
« no previous file with comments | « tests/irt_compatibility/nacl.scons ('k') | tests/spec2k/run_all.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/irt_private_pthread/nacl.scons
diff --git a/tests/irt_private_pthread/nacl.scons b/tests/irt_private_pthread/nacl.scons
index d89161b976852b1497eda1de9d7e3d2f2e577936..25da5b0c25484a93e5d59715fe35051feec78348 100644
--- a/tests/irt_private_pthread/nacl.scons
+++ b/tests/irt_private_pthread/nacl.scons
@@ -17,9 +17,14 @@ if env.Bit('bitcode'):
# __pthread_initialize() and the intercepted malloc() uses TLS.
is_broken = env.Bit('running_on_valgrind')
-irt_thread_test_nexe = env.ComponentProgram(
- 'irt_thread_test', ['irt_thread_test.c'],
+irt_thread_test_raw = env.ComponentProgram(
+ 'irt_thread_test_raw', ['irt_thread_test.c'],
EXTRA_LIBS=['irt_support_private'])
+
+irt_thread_test_nexe = env.ApplyTLSEdit(
+ 'irt_thread_test.nexe',
+ irt_thread_test_raw)
+
node = env.CommandSelLdrTestNacl('irt_thread_test.out', irt_thread_test_nexe)
env.AddNodeToTestSuite(node, ['small_tests'], 'run_irt_thread_test',
is_broken=is_broken)
« no previous file with comments | « tests/irt_compatibility/nacl.scons ('k') | tests/spec2k/run_all.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698