If we are processing a #include from a module build, we should treat it as a system header if we're building a system module. Passing an optional flag to HeaderSearch::LookupFile. Before this, the testing case will crash when accessing a freed FileEntry. rdar://26214027 llvm-svn: 269730
4 lines
62 B
Plaintext
4 lines
62 B
Plaintext
module UseAfterFreePublic {
|
|
header "UseAfterFreePublic.h"
|
|
}
|