mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
[MC] Pass down argv0 & cc1 cmd-line to the back-end and store in MCTargetOptions
When targetting CodeView, the goal is to store argv0 & cc1 cmd-line in the emitted .OBJ, in order to allow a reproducer from the .OBJ alone. This patch is to simplify https://reviews.llvm.org/D80833
This commit is contained in:
parent
f2fc9c7c46
commit
49932069f7
@ -9,6 +9,7 @@
|
||||
#ifndef LLVM_MC_MCTARGETOPTIONS_H
|
||||
#define LLVM_MC_MCTARGETOPTIONS_H
|
||||
|
||||
#include "llvm/ADT/ArrayRef.h"
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
@ -60,6 +61,9 @@ public:
|
||||
std::string AssemblyLanguage;
|
||||
std::string SplitDwarfFile;
|
||||
|
||||
const char *Argv0 = nullptr;
|
||||
ArrayRef<const char *> CommandLineArgs;
|
||||
|
||||
/// Additional paths to search for `.include` directives when using the
|
||||
/// integrated assembler.
|
||||
std::vector<std::string> IASSearchPaths;
|
||||
|
Loading…
x
Reference in New Issue
Block a user