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

Side by Side Diff: pydir/targets.py

Issue 1559243002: Suzero. X8664. NaCl Sandboxing. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Adds lit tests for the sandboxed call/ret sequences; add lit tests for the new pad_to_end bundle lo… Created 4 years, 11 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
OLDNEW
1 #!/usr/bin/env python2 1 #!/usr/bin/env python2
2 2
3 from collections import namedtuple 3 from collections import namedtuple
4 import glob 4 import glob
5 5
6 6
7 # Why have 'cross_headers': 7 # Why have 'cross_headers':
8 # For some reason, clang doesn't know how to find some of the libstdc++ 8 # For some reason, clang doesn't know how to find some of the libstdc++
9 # headers (c++config.h). Manually add in one of the paths: 9 # headers (c++config.h). Manually add in one of the paths:
10 # https://llvm.org/bugs/show_bug.cgi?id=22937 10 # https://llvm.org/bugs/show_bug.cgi?id=22937
(...skipping 26 matching lines...) Expand all
37 ARM32Target = TargetInfo(target='arm32', 37 ARM32Target = TargetInfo(target='arm32',
38 compiler_arch='armv7', 38 compiler_arch='armv7',
39 triple='armv7a-none-linux-gnueabihf', 39 triple='armv7a-none-linux-gnueabihf',
40 llc_flags=['-mcpu=cortex-a9', 40 llc_flags=['-mcpu=cortex-a9',
41 '-float-abi=hard', 41 '-float-abi=hard',
42 '-mattr=+neon'], 42 '-mattr=+neon'],
43 ld_emu='armelf_nacl', 43 ld_emu='armelf_nacl',
44 cross_headers=['-isystem', FindARMCrossInclude()]) 44 cross_headers=['-isystem', FindARMCrossInclude()])
45 45
46 def ConvertTripleToNaCl(nonsfi_triple): 46 def ConvertTripleToNaCl(nonsfi_triple):
47 return nonsfi_triple.replace('linux', 'nacl') 47 return nonsfi_triple[:nonsfi_triple.find('-linux')] + '-nacl'
OLDNEW
« no previous file with comments | « pydir/szbuild.py ('k') | src/IceAssembler.h » ('j') | src/IceAssemblerX86BaseImpl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698