aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/cc/xlc.txt
blob: fa3bb85f0b17ef9558beb917a112290a0913b1e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
macro_name XLC

binary_name xlC

optimization_flags "-O2"

lang_flags "-std=c++11"

visibility_build_flags "-fvisibility=hidden"
visibility_attribute '__attribute__((visibility("default")))'

<isa_flags>
altivec -> "-qaltivec"
</isa_flags>

<so_link_commands>
default -> "$(CXX) -qmkshrobj"
</so_link_commands>

<sanitizers>
default   -> "-qcheck=all"
address   -> "-qcheck=bounds:stackclobber:unset"
undefined -> "-qcheck=nullptr:divzero"
</sanitizers>