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

Side by Side Diff: pnacl/driver/pnacl-ld.py

Issue 1767083003: PNaCl: Update clang and llvm revision in pnacl/COMPONENT_REVISIONS (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 4 years, 9 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 unified diff | Download patch
« no previous file with comments | « pnacl/COMPONENT_REVISIONS ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 from driver_tools import ArchMerge, DriverChain, GetArch, \ 6 from driver_tools import ArchMerge, DriverChain, GetArch, \
7 ParseArgs, ParseTriple, RunDriver, RunWithEnv, SetArch, \ 7 ParseArgs, ParseTriple, RunDriver, RunWithEnv, SetArch, \
8 SetExecutableMode, TempNameGen, UnrecognizedOption 8 SetExecutableMode, TempNameGen, UnrecognizedOption
9 from driver_env import env 9 from driver_env import env
10 from driver_log import Log 10 from driver_log import Log
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 'TRANSLATE_FLAGS': '${PIC ? -fPIC} ${!USE_STDLIB ? -nostdlib} ' + 44 'TRANSLATE_FLAGS': '${PIC ? -fPIC} ${!USE_STDLIB ? -nostdlib} ' +
45 '${#SONAME ? -Wl,--soname=${SONAME}} ' + 45 '${#SONAME ? -Wl,--soname=${SONAME}} ' +
46 '${#OPT_LEVEL ? -O${OPT_LEVEL}} ' + 46 '${#OPT_LEVEL ? -O${OPT_LEVEL}} ' +
47 '--allow-llvm-bitcode-input ' + 47 '--allow-llvm-bitcode-input ' +
48 '${TRANSLATE_FLAGS_USER}', 48 '${TRANSLATE_FLAGS_USER}',
49 49
50 # Extra pnacl-translate flags specified by the user using -Wt 50 # Extra pnacl-translate flags specified by the user using -Wt
51 'TRANSLATE_FLAGS_USER': '', 51 'TRANSLATE_FLAGS_USER': '',
52 52
53 'GOLD_PLUGIN_ARGS': '-plugin=${GOLD_PLUGIN_SO} ' + 53 'GOLD_PLUGIN_ARGS': '-plugin=${GOLD_PLUGIN_SO} ' +
54 '-plugin-opt=emit-llvm', 54 '-plugin-opt=emit-llvm ' +
55 '-plugin-opt=no-abi-simplify ' +
56 '-plugin-opt=no-finalize',
Derek Schuff 2016/03/07 21:26:18 So the default is to simplify+finalize, and this d
Petr Hosek 2016/03/07 23:29:43 Yes, exactly.
55 57
56 'LD_FLAGS' : '-nostdlib ${@AddPrefix:-L:SEARCH_DIRS} ' + 58 'LD_FLAGS' : '-nostdlib ${@AddPrefix:-L:SEARCH_DIRS} ' +
57 '${STATIC ? -static} ' + 59 '${STATIC ? -static} ' +
58 '${RELOCATABLE ? -relocatable} ' + 60 '${RELOCATABLE ? -relocatable} ' +
59 '${#SONAME ? --soname=${SONAME}}', 61 '${#SONAME ? --soname=${SONAME}}',
60 62
61 # Flags for native linking. 63 # Flags for native linking.
62 # Only allowed if ALLOW_NATIVE is true. 64 # Only allowed if ALLOW_NATIVE is true.
63 'LD_FLAGS_NATIVE': '', 65 'LD_FLAGS_NATIVE': '',
64 66
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
593 -O<opt-level> Optimize output file 595 -O<opt-level> Optimize output file
594 -M, --print-map Print map file on standard output 596 -M, --print-map Print map file on standard output
595 --whole-archive Include all objects from following archives 597 --whole-archive Include all objects from following archives
596 --no-whole-archive Turn off --whole-archive 598 --no-whole-archive Turn off --whole-archive
597 -s, --strip-all Strip all symbols 599 -s, --strip-all Strip all symbols
598 -S, --strip-debug Strip debugging symbols 600 -S, --strip-debug Strip debugging symbols
599 -u SYM, --undefined=SYM Start with undefined reference to SYM 601 -u SYM, --undefined=SYM Start with undefined reference to SYM
600 602
601 -help | -h Output this help. 603 -help | -h Output this help.
602 """ 604 """
OLDNEW
« no previous file with comments | « pnacl/COMPONENT_REVISIONS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698