mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-29 23:06:05 +00:00

Make SBTarget::AddModule possibly call out to an external program to find the binary by UUID if it can't be found more easily, the same way `target modules add -u ...` works from the commandline. If the Target does not have an architecture set yet, use the Module's Arch to initialize it. Allows an API writer to create a target with no arch, and inherit it from the first binary they load with AddModules. Differential Revision: https://reviews.llvm.org/D157659 rdar://113657555
6 lines
75 B
C
6 lines
75 B
C
#include <stdio.h>
|
|
int main() {
|
|
puts("HI i am a program");
|
|
return 0;
|
|
}
|