Duncan P. N. Exon Smith
511eb032bb
IR: getOrInsertODRUniquedType => DICompositeType::getODRType, NFC
...
Lift the API for debug info ODR type uniquing up a layer. Instead of
clients managing the map directly on the LLVMContext, add a static
method to DICompositeType called getODRType and handle the map in the
background. Also adds DICompositeType::getODRTypeIfExists, so far just
for convenience in the unit tests.
This simplifies the logic in LLParser and BitcodeReader. Because of
argument spam there are actually a few more lines of code now; I'll see
if I come up with a reasonable way to clean that up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266742 91177308-0d34-0410-b5e6-96231b3b80d8
2016-04-19 14:55:09 +00:00
..
2016-04-17 03:58:21 +00:00
2015-11-22 00:16:24 +00:00
2015-12-07 16:31:41 +00:00
2015-12-07 16:31:41 +00:00
2015-09-11 03:22:04 +00:00
2015-09-11 03:22:04 +00:00
2015-09-11 03:22:04 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-01-20 22:05:50 +00:00
2015-12-10 14:19:35 +00:00
2015-12-10 18:44:26 +00:00
2015-09-11 03:22:04 +00:00
2015-09-11 03:22:04 +00:00
2016-03-24 00:06:03 +00:00
2015-12-01 15:19:48 +00:00
2015-12-01 15:19:48 +00:00
2015-12-01 15:19:48 +00:00
2015-12-02 20:03:17 +00:00
2015-12-02 20:57:33 +00:00
2016-03-23 21:16:33 +00:00
2015-11-27 23:21:45 +00:00
2016-03-22 21:35:47 +00:00
2015-12-07 16:31:41 +00:00
2016-03-23 21:16:33 +00:00
2015-11-29 03:29:42 +00:00
2015-11-30 18:54:24 +00:00
2015-12-02 15:02:43 +00:00
2015-12-07 13:24:23 +00:00
2015-11-30 20:36:23 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-19 14:55:09 +00:00
2015-11-06 17:50:53 +00:00
2015-12-14 23:17:03 +00:00
2016-04-12 21:35:18 +00:00
2016-04-12 21:35:18 +00:00
2016-04-12 21:35:18 +00:00
2016-04-12 21:35:18 +00:00
2015-12-01 15:46:46 +00:00
2015-12-08 02:38:14 +00:00
2015-12-08 02:29:45 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-01-21 14:28:52 +00:00
2015-12-07 16:31:41 +00:00
2015-11-22 00:16:24 +00:00
2015-09-11 03:22:04 +00:00
2016-04-15 15:57:41 +00:00
2016-03-24 15:23:01 +00:00
2015-11-29 14:53:06 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2015-12-07 16:31:41 +00:00
2016-04-15 15:57:41 +00:00
2015-09-11 03:22:04 +00:00
2015-12-07 16:31:41 +00:00
2016-04-18 22:41:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2015-09-16 05:34:32 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2015-12-07 16:31:41 +00:00
2016-04-15 15:57:41 +00:00
2016-04-15 15:57:41 +00:00
2015-08-04 06:42:31 +00:00
2015-12-07 16:31:41 +00:00
2015-09-11 03:22:04 +00:00
2015-09-11 03:22:04 +00:00
2015-12-07 16:31:41 +00:00