HomePhabricator

Correctly implement -include search logic.

Description

Correctly implement -include search logic.

According to the gcc docs, -include uses the current working directory
for the lookup instead of the main source file.

This patch gets rid of NormalizeIncludePath (which relied on an
implementation detail of FileManager / FileEntry for the include path
logic to work), and instead hands the correct lookup information down to
LookupFile.

This will allow us to change the FileEntry's behavior regarding its Name
caching.

Details

Committed
klimekAug 12 2014, 1:25 AM
Parents
rL215432: Have MachineRegisterInfo take and store the MachineFunction it
Branches
Unknown
Tags
Unknown

Event Timeline