]> granicus.if.org Git - clang/commit
CodeGen: plumb header search down to the IAS
authorSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 5 Jan 2017 16:02:32 +0000 (16:02 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Thu, 5 Jan 2017 16:02:32 +0000 (16:02 +0000)
commit72e537abaf848db624270cc3f70cdb17fbb86fb0
treefbd8f54d9b21af75662e67c06c9f54670ed1363b
parentd407903caa09a280004a43f523734a6408b9fff1
CodeGen: plumb header search down to the IAS

inline assembly may use the `.include` directive to include other
content into the file.  Without the integrated assembler, the `-I` group
gets passed to the assembler.  Emulate this by collecting the header
search paths and passing them to the IAS.

Resolves PR24811!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@291123 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/CodeGen/BackendUtil.h
lib/CodeGen/BackendUtil.cpp
lib/CodeGen/CodeGenAction.cpp
lib/CodeGen/ObjectFilePCHContainerOperations.cpp
test/CodeGen/include/function.x [new file with mode: 0644]
test/CodeGen/include/module.x [new file with mode: 0644]
test/CodeGen/inline-asm-inclusion.c [new file with mode: 0644]