File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
utils/bazel/llvm-project-overlay/llvm Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -1173,12 +1173,41 @@ cc_library(
1173
1173
],
1174
1174
)
1175
1175
1176
+ AnalysisFpExcSrcs = [
1177
+ "lib/Analysis/ConstantFolding.cpp" ,
1178
+ ]
1179
+
1180
+ cc_library (
1181
+ name = "AnalysisFpExc" ,
1182
+ srcs = AnalysisFpExcSrcs ,
1183
+ hdrs = glob (
1184
+ [
1185
+ "include/llvm/Analysis/*.h" ,
1186
+ "include/llvm/Analysis/Utils/*.h" ,
1187
+ ],
1188
+ ),
1189
+ copts = llvm_copts + ["-ftrapping-math" ],
1190
+ textual_hdrs = glob ([
1191
+ "include/llvm/Analysis/*.def" ,
1192
+ ]),
1193
+ deps = [
1194
+ ":BinaryFormat" ,
1195
+ ":Core" ,
1196
+ ":Object" ,
1197
+ ":ProfileData" ,
1198
+ ":Support" ,
1199
+ ":TargetParser" ,
1200
+ ":config" ,
1201
+ ],
1202
+ )
1203
+
1176
1204
cc_library (
1177
1205
name = "Analysis" ,
1178
1206
srcs = glob (
1179
1207
[
1180
1208
"lib/Analysis/*.cpp" ,
1181
1209
],
1210
+ exclude = AnalysisFpExcSrcs ,
1182
1211
),
1183
1212
hdrs = glob (
1184
1213
[
@@ -1193,6 +1222,7 @@ cc_library(
1193
1222
"include/llvm/Analysis/*.def" ,
1194
1223
]),
1195
1224
deps = [
1225
+ ":AnalysisFpExc" ,
1196
1226
":BinaryFormat" ,
1197
1227
":Core" ,
1198
1228
":Object" ,
You can’t perform that action at this time.
0 commit comments