LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 22608 - Orc needs unit tests.
Summary: Orc needs unit tests.
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: OrcJIT (show other bugs)
Version: trunk
Hardware: PC All
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-16 16:33 PST by Lang Hames
Modified: 2019-05-21 14:27 PDT (History)
6 users (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lang Hames 2015-02-16 16:33:21 PST
As the title says.

The Orc APIs should lend themselves to unit tests, and this may allow us to reduce our reliance on the JIT regression tests, which often have problems with portability.
Comment 1 Lang Hames 2015-02-16 16:35:31 PST
Adding Anthony, who was interested in general JIT stuff.
Comment 2 Lang Hames 2015-02-22 23:02:15 PST
Initial unit test checked in by Dave Blaikie in r230196.

Now I've got something to crib from when adding more tests. Thanks Dave!
Comment 3 Lang Hames 2016-03-01 17:37:43 PST
Progress report:

We now have several unit tests for portions of the ORC APIs.

Still to do - several of the layers are still untested, and there are no tests for the generic layer concept.
Comment 4 Stefan Gränitz 2019-05-21 09:53:13 PDT
How is (unit) test coverage today in Orc?
Comment 5 Lang Hames 2019-05-21 14:27:34 PDT
Improved! Plenty of infrastructure and basic tests are in place now. I'm going to call this fixed. :)