OLD | NEW |
---|---|
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
568 ], | 568 ], |
569 }], | 569 }], |
570 ], | 570 ], |
571 }], | 571 }], |
572 ['msan==1', { | 572 ['msan==1', { |
573 'target_conditions': [ | 573 'target_conditions': [ |
574 ['_toolset=="target"', { | 574 ['_toolset=="target"', { |
575 'cflags': [ | 575 'cflags': [ |
576 '-fsanitize=memory', | 576 '-fsanitize=memory', |
577 '-fsanitize-memory-track-origins=<(msan_track_origins)', | 577 '-fsanitize-memory-track-origins=<(msan_track_origins)', |
578 '-fPIC', | |
Nico
2015/11/26 15:11:22
upstream we added comments to remind us to remove
| |
578 ], | 579 ], |
579 'ldflags': [ | 580 'ldflags': [ |
580 '-fsanitize=memory', | 581 '-fsanitize=memory', |
582 '-pie', | |
581 ], | 583 ], |
582 'defines': [ | 584 'defines': [ |
583 'MEMORY_SANITIZER', | 585 'MEMORY_SANITIZER', |
584 ], | 586 ], |
585 }], | 587 }], |
586 ], | 588 ], |
587 }], | 589 }], |
588 ['use_custom_libcxx==1', { | 590 ['use_custom_libcxx==1', { |
589 'dependencies': [ | 591 'dependencies': [ |
590 '<(DEPTH)/buildtools/third_party/libc++/libc++.gyp:libcxx_proxy', | 592 '<(DEPTH)/buildtools/third_party/libc++/libc++.gyp:libcxx_proxy', |
(...skipping 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1333 '-fsanitize=cfi-vcall', | 1335 '-fsanitize=cfi-vcall', |
1334 '-fsanitize=cfi-derived-cast', | 1336 '-fsanitize=cfi-derived-cast', |
1335 '-fsanitize=cfi-unrelated-cast', | 1337 '-fsanitize=cfi-unrelated-cast', |
1336 ], | 1338 ], |
1337 }], | 1339 }], |
1338 ], | 1340 ], |
1339 }, | 1341 }, |
1340 }], | 1342 }], |
1341 ], | 1343 ], |
1342 } | 1344 } |
OLD | NEW |