search for: irrelevant_extern

Displaying 1 result from an estimated 1 matches for "irrelevant_extern".

Did you mean: irrelevant_external
2020 Aug 10
2
ORC JIT Weekly #19 -- Relocatable object level mocking with llvm-jitlink.
...ined in the test object(s). With these modifications in place we can selectively test functions in an object file by mocking their callees. For example, suppose we have an object file, test_code.o, compiled from the following C source (which we do not have access to): void irrelevant_function() { irrelevant_external(); } int function_to_mock(int X) { return /* some function of X */; } static void function_to_test() { ... int Y = function_to_mock(); printf("Y is %i\n", Y); } We would like to know how function_to_test behaves when we change the behavior of function_to_mock. We can do this...