Displaying 1 result from an estimated 1 matches for "run_flag".
Did you mean:
run_flags
2011 Sep 16
2
[LLVMdev] How to duplicate a function?
...(LLVM_CONFIG) --ldflags)
all: $(ALL_TARGETS)
%.o : $(SRC_DIR)/%.cpp
@echo Compiling $*.cpp
$(QUIET)$(CXX) -c $(CPP_OPTIONS) $(CXXFLAGS) $<
$(PLUGIN): $(PLUGIN_OBJECTS)
@echo Linking $@
$(QUIET)$(CXX) -o $@ $(LOADABLE_MODULE_OPTIONS) $(CXXFLAGS)
$(LD_OPTIONS) $(PLUGIN_OBJECTS)
RUN_FLAGS=-duplicateFunction
$(TEST_FILE): $(TEST_C)
clang -g -O3 -S -emit-llvm $^
# clang -g -O0 -S -emit-llvm $^
# clang -O0 -S -emit-llvm $^
run:
opt -load ./$(PLUGIN) $(RUN_FLAGS) < $(TEST_FILE) > /dev/null 2> after.s
# opt -load ./$(PLUGIN) $(RUN_FLAGS) < $(TEST_FILE) >...