Skip to content

Commit

Permalink
Revert: Guard debug info on LLVM version
Browse files Browse the repository at this point in the history
  • Loading branch information
CodaFi committed Mar 14, 2018
1 parent 955c1b5 commit f85b813
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions shim.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
#include <llvm-c/BitReader.h>
#include <llvm-c/BitWriter.h>
#include <llvm-c/Core.h>
#include <llvm-c/DebugInfo.h>
#include <llvm-c/Disassembler.h>
#include <llvm-c/ErrorHandling.h>
#include <llvm-c/ExecutionEngine.h>
Expand All @@ -27,6 +28,3 @@
#include <llvm-c/Transforms/Vectorize.h>
#include <llvm-c/Types.h>

#if ((LLVM_VERSION_MAJOR > 6) || (LLVM_VERSION_MAJOR == 6))
#include <llvm-c/DebugInfo.h>
#endif

0 comments on commit f85b813

Please sign in to comment.