aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-03-17Merge "Fixes for host bionic support"android-wear-o-preview-4android-wear-o-preview-3android-o-preview-2android-n-iot-preview-4n-iot-preview-4Dan Willemsen
am: 6609d6fb43 Change-Id: I89e3e5869658a9c5c198f0e55c94a33b706da444
2017-03-17Merge "Fixes for host bionic support"Dan Willemsen
2017-03-15Fixes for host bionic supportDan Willemsen
This enables linux_bionic for llvm-headers-no-generated-headers, which was missing. Then add some more ifdefs in the host-side config.h (that's used for linux_bionic) to deal with differences between bionic and glibc/darwin's libc. Bug: 31559095 Test: Enable host bionic, run soong Change-Id: Ie01d3317eb21edd861163722d40a354207fada66
2017-02-23Merge "Use registered users in llvm OWNERS files."Chih-Hung Hsieh
am: 6c19fec81f Change-Id: Ie3b79824e8f15d5fac92342bdb05ee990b2eec98
2017-02-23Merge "Use registered users in llvm OWNERS files."android-o-preview-1android-n-mr2-preview-2o-previewTreehugger Robot
2017-02-23Use registered users in llvm OWNERS files.Chih-Hung Hsieh
AOSP project owners should be registered in Gerrit Code Review. Bug: 33166666 Test: default build targets Change-Id: I4adaceee65d5d96b1e201bb94c646b186da01dff
2017-02-09Merge "[lit] Support custom parsers in parseIntegratedTestScript" am: ↵Eric Fiselier
3400914538 am: 73cff94da8 am: eee927bac4 Change-Id: I673ade39cc564d02bafb078a695a8e3569dc9780
2017-02-09Merge "[lit] Support custom parsers in parseIntegratedTestScript" am: 3400914538Eric Fiselier
am: 73cff94da8 Change-Id: I48f74c6679546569f15a5cd3294857056f40060e
2017-02-09Merge "[lit] Support custom parsers in parseIntegratedTestScript"Eric Fiselier
am: 3400914538 Change-Id: Ifa6b54cdcf4db7e4463a58daef8217812933ed56
2017-02-09Merge "[lit] Support custom parsers in parseIntegratedTestScript"Treehugger Robot
2017-01-26[lit] Support custom parsers in parseIntegratedTestScriptEric Fiselier
Summary: Libc++ frequently has the need to parse more than just the builtin *test keywords* (`RUN`, `REQUIRES`, `XFAIL`, ect). For example libc++ currently needs a new keyword `MODULES-DEFINES: macro list...`. Instead of re-implementing the script parsing in libc++ this patch allows `parseIntegratedTestScript` to take custom parsers. This patch introduces a new class `IntegratedTestKeywordParser` which implements the logic to parse/process a test keyword. Parsing of various keyword "kinds" are supported out of the box, including 'TAG', 'COMMAND', and 'LIST', which parse keywords such as `END.`, `RUN:` and `XFAIL:` respectively. As an example after this change libc++ can implement the `MODULES-DEFINES` simply using: ``` mparser = IntegratedTestKeywordParser('MODULES-DEFINES:', ParserKind.LIST) parseIntegratedTestScript(test, additional_parsers=[mparser]) macro_list = mparser.getValue() ``` Reviewers: ddunbar, modocache, rnk, danalbert, jroelofs Subscribers: mgrang, llvm-commits, cfe-commits Differential Revision: https://reviews.llvm.org/D27005 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288694 91177308-0d34-0410-b5e6-96231b3b80d8 (cherry picked from commit 5b9f351e179585e45a32c9241ba3941524a04c38)
2016-12-14Merge "Add debug support for __fp16, float, and double constants." am: ↵David Gross
7623033614 am: ec2c085cdc am: 667eee1eb3 Change-Id: Ic7518baff7442ae8eab7f73047e64c9bd7812ff6
2016-12-14Merge "Add debug support for __fp16, float, and double constants." am: ↵David Gross
7623033614 am: ec2c085cdc Change-Id: Ic36881a00e07a025ef9585f32dc10bd1a201c9a3
2016-12-14Merge "Rearrange header libraries" am: 1d4359f7d4 am: 0f86f11e50Colin Cross
am: 35ddaab3ac Change-Id: Iaa34aa6b5ff46aa7dbbf0a2cff0f0519513317b2
2016-12-14Merge "Add debug support for __fp16, float, and double constants."David Gross
am: 7623033614 Change-Id: I02d30e2c15993facb155fb077b5c7c8e59d981e8
2016-12-14Merge "Add debug support for __fp16, float, and double constants."android-n-mr2-preview-1David Gross
2016-12-14Merge "Rearrange header libraries" am: 1d4359f7d4Colin Cross
am: 0f86f11e50 Change-Id: I5eadbabbb4e97b4f48702c322a8fa4c655cca7c0
2016-12-14Merge "Rearrange header libraries"Colin Cross
am: 1d4359f7d4 Change-Id: I2c83f3e18961d7a56dee1d55fb0d0246c4e8fe6c
2016-12-14Merge "Rearrange header libraries"Treehugger Robot
2016-12-13Rearrange header librariesColin Cross
Use a header library for the LLVM headers. External libraries can depend on the headers by depending on llvm-headers. All modules in LLVM get all the headers, including the autogenerated ones, except for the few that opt-out in order to allow tblgen to compile and generate the generated headers. Test: mma -j Change-Id: I5e0a58fdf9ade97337222822ddf8596a197aa442
2016-12-09Add debug support for __fp16, float, and double constants.David Gross
Partial fix for https://llvm.org/bugs/show_bug.cgi?id=26619. A DIGlobalVariable corresponding to a static const is marked with an expression corresponding to its constant value. Prior to this change, we only emitted the constant value into DWARF for integral types; now, we also emit the constant value into DWARF for floating-point types. NOTE: Upstream llvm/clang has changes "DebugInfo: New metadata representation for global variables" (D20147, D20415) that rework enough of the debug emission that this patch cannot be applied there. Instead there is a separate patch to make a corresponding fix (D27549, D27589). We should throw away this patch when we incorporate those upstream changes. Test: full_fugu-eng: slang/tests, slang/lit-tests, libbcc/tests, RsTest, cts -m RenderscriptTest Change-Id: I535e9b54f131c7322701f3d2c8fcb6ef4a2cc29b
2016-12-09Merge "Support *Options.inc in llvm tblgen" am: f01c9a63a2 am: 004f0641e6Colin Cross
am: 6d6453076b Change-Id: I25aacbfd34e9afea7a4373e30772d5c68bda542f
2016-12-09Merge "Move FORCE_BUILD_LLVM_COMPONENTS to a defaults module" am: 6c1f37b1da ↵Colin Cross
am: f273b8acb0 am: da802e352e Change-Id: Iba3cef3fb30480b6500c693f555fd39f0b0f90e7
2016-12-09Merge "Support *Options.inc in llvm tblgen" am: f01c9a63a2Colin Cross
am: 004f0641e6 Change-Id: I3b202a98a1083bbf957a191931e40752183dae94
2016-12-09Merge "Move FORCE_BUILD_LLVM_COMPONENTS to a defaults module" am: 6c1f37b1daColin Cross
am: f273b8acb0 Change-Id: I3f7a1c7f32acf54254fc95e5fde7b95f3a0eb426
2016-12-09Merge "Support *Options.inc in llvm tblgen"Colin Cross
am: f01c9a63a2 Change-Id: Iedc93300c99a790879e72ebb7118f92c92b0ba61
2016-12-09Merge "Move FORCE_BUILD_LLVM_COMPONENTS to a defaults module"Colin Cross
am: 6c1f37b1da Change-Id: I575fe5acc09ce0e251564aeefbb73d21eecc04fd
2016-12-09Merge "Support *Options.inc in llvm tblgen"Colin Cross
2016-12-09Merge "Move FORCE_BUILD_LLVM_COMPONENTS to a defaults module"Colin Cross
2016-12-08Support *Options.inc in llvm tblgenColin Cross
frameworks/compile/slang uses llvm's tblgen to convert RSSCOptions.inc. Test: mmma -j frameworks/compile/slang Change-Id: I855468b0859f22f8234539c59edcd53c88b4ec7d
2016-12-08Move FORCE_BUILD_LLVM_COMPONENTS to a defaults moduleColin Cross
Instead of extending each module type that needs to handle FORCE_BUILD_LLVM_COMPONENTS, make it a defaults module that can be included into any module type. Test: mmma -j external/llvm Test: mmma -j external/llvm FORCE_BUILD_LLVM_COMPONENTS=true Change-Id: I95273dcb6c63e0d07d2e885f10b0555e7ca2c24c
2016-12-08Merge changes from topic 'clang' am: 8b9bba54a5 am: 867e479838Colin Cross
am: f66fc85dc1 Change-Id: I7bf91d601a8f243a8c64feeda2088415838f327a
2016-12-08Export libLLVM include dirs am: 7e5fa1ad56 am: 62666ea4c3Colin Cross
am: d8080c7c11 Change-Id: Ie441aeaac1ec643007c8a5ed9206b352e46220c4
2016-12-08Rename llvm_cc_shared_library to llvm_cc_library_shared am: 96f8efac24 am: ↵Colin Cross
d0fe243b77 am: 0484e1062a Change-Id: Ib9807a8bf76fb5cb82d0c462202d3f1068f66433
2016-12-08Add path containing input file to the tblgen include paths am: da57046c56 ↵Colin Cross
am: a82602a5e6 am: 174e5f5bf6 Change-Id: I1b39999ffedfdc7e3bc423b1c085efe7eb4d290d
2016-12-08Merge changes from topic 'clang' am: 8b9bba54a5Colin Cross
am: 867e479838 Change-Id: Ib8db0bd50449a3241f6b558454ab01023b1cac12
2016-12-08Export libLLVM include dirs am: 7e5fa1ad56Colin Cross
am: 62666ea4c3 Change-Id: I70910ee6f8a534ecbad6f5acdc8ce3cda63b7b2d
2016-12-08Rename llvm_cc_shared_library to llvm_cc_library_shared am: 96f8efac24Colin Cross
am: d0fe243b77 Change-Id: I6b8bf2b3428536278c6c8946986656fa8bc4fee0
2016-12-08Add path containing input file to the tblgen include paths am: da57046c56Colin Cross
am: a82602a5e6 Change-Id: I6d2679081b41773f93de192596e9e992e3dfe37d
2016-12-08Merge changes from topic 'clang'Colin Cross
am: 8b9bba54a5 Change-Id: I647fd830df2cdb84ac3faaedf4099f5811028f6b
2016-12-08Export libLLVM include dirsColin Cross
am: 7e5fa1ad56 Change-Id: Id59fe0375389858be463a53d7e855e6c2333fb51
2016-12-08Rename llvm_cc_shared_library to llvm_cc_library_sharedColin Cross
am: 96f8efac24 Change-Id: I5b4b0feb6578541f88cddf8e203b8aca277ea028
2016-12-08Add path containing input file to the tblgen include pathsColin Cross
am: da57046c56 Change-Id: I36f6f279247d9ffe8ac92c7cb2b1e366ebc6147d
2016-12-08Merge changes from topic 'clang'Treehugger Robot
* changes: Export libLLVM include dirs Rename llvm_cc_shared_library to llvm_cc_library_shared Add path containing input file to the tblgen include paths
2016-12-06Export libLLVM include dirsColin Cross
Test: mmma -j bionic/tools/versioner Change-Id: If1c00ddb301bcad2649dfe3135956a2c324d63d3
2016-12-06Rename llvm_cc_shared_library to llvm_cc_library_sharedColin Cross
Rename to match cc_library_shared modules. Test: mma -j Change-Id: Iaa4e178e51c59edf063b94659a40fc018c172d29
2016-12-06Add path containing input file to the tblgen include pathsColin Cross
clang uses llvm's tblgen rules, but needs Options.inc to be able to include CC1Options.inc from the same directory. Test: mmma -j external/clang Change-Id: Ic4b1ec5549d926a56b6cf4e8ca6cdb13e2a13971
2016-12-06Merge "Fix tidy_checks" am: 4bbefc9371 am: 5f98977013Colin Cross
am: 9759027e8f Change-Id: I7b20866bbbaef570ae1b0097314a4b30af6a4b0d
2016-12-06Merge "Fix tidy_checks" am: 4bbefc9371Colin Cross
am: 5f98977013 Change-Id: Icdd5a6bcd992a3766cd7ec058a579ed58b5f0e0b
2016-12-06Merge "Fix tidy_checks"Colin Cross
am: 4bbefc9371 Change-Id: I21c691d41d408910c0f794ce1af9e2f213e2ccb4