Questions about Julia Compilation Optimization Levels


I couldn’t find documentation on optimization flags. Is there such a documentation?

I know one can pass optimization flags (e.g. O0) when calling Julia. Is this O0 the same as Clang’s O0?

What is the default optimization level that Julia uses?

If I am embedding Julia inside C or C++, how would I control Julia’s optimization level?