This is an archive of the discontinued LLVM Phabricator instance.

Fix some -Wundef warnings in include/llvm/ExecutionEngine/JITEventListener.h
ClosedPublic

Authored by tkelman on Feb 15 2016, 12:35 AM.

Details

Summary

This check was added in R152620, and has started causing downstream warnings in Julia:

In file included from /home/tkelman/Julia/julia-0.5/src/codegen.cpp:22:0:
/home/tkelman/Julia/julia-0.5/usr/include/llvm/ExecutionEngine/JITEventListener.h:84:5: warning: "LLVM_USE_INTEL_JITEVENTS" is not defined [-Wundef]
 #if LLVM_USE_INTEL_JITEVENTS
     ^
/home/tkelman/Julia/julia-0.5/usr/include/llvm/ExecutionEngine/JITEventListener.h:100:5: warning: "LLVM_USE_OPROFILE" is not defined [-Wundef]
 #if LLVM_USE_OPROFILE
     ^

Diff Detail

Repository
rL LLVM

Event Timeline

tkelman updated this revision to Diff 47949.Feb 15 2016, 12:35 AM
tkelman retitled this revision from to Fix some -Wundef warnings in include/llvm/ExecutionEngine/JITEventListener.h.
tkelman updated this object.
tkelman added reviewers: eliben, lhames.
tkelman added a subscriber: llvm-commits.
loladiro accepted this revision.Mar 8 2016, 8:44 PM
loladiro added a reviewer: loladiro.
loladiro added a subscriber: loladiro.

LGTM

This revision is now accepted and ready to land.Mar 8 2016, 8:44 PM
This revision was automatically updated to reflect the committed changes.